COMPMID-418 Add check and fix comments after preprocessor conditions

Change-Id: I1353fd652ee180e3931e58b4ce13d651a48c7e2c
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79567
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
diff --git a/tests/TensorLibrary.cpp b/tests/TensorLibrary.cpp
index 21bb4ec..479c3e5 100644
--- a/tests/TensorLibrary.cpp
+++ b/tests/TensorLibrary.cpp
@@ -186,13 +186,15 @@
 }
 } // namespace
 
-TensorLibrary::TensorLibrary(std::string path)
-    : _library_path(std::move(path)), _seed{ std::random_device()() }
+TensorLibrary::TensorLibrary(std::string path) //NOLINT
+    : _library_path(std::move(path)),
+      _seed{ std::random_device()() }
 {
 }
 
-TensorLibrary::TensorLibrary(std::string path, std::random_device::result_type seed)
-    : _library_path(std::move(path)), _seed{ seed }
+TensorLibrary::TensorLibrary(std::string path, std::random_device::result_type seed) //NOLINT
+    : _library_path(std::move(path)),
+      _seed{ seed }
 {
 }
 
@@ -342,9 +344,9 @@
 {
 #ifdef _WIN32
     const std::string image_path = ("\\images\\");
-#else
+#else  /* _WIN32 */
     const std::string image_path = ("/images/");
-#endif
+#endif /* _WIN32 */
 
     const std::string path      = _library_path + image_path + name;
     const std::string extension = path.substr(path.find_last_of('.') + 1);