From df7a3ee93c28e86fbaffeb0b966e3702e51afb14 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 24 Mar 2018 17:00:30 +0100 Subject: [PATCH] Apply clang-format from LLVM 6 --- conversion/binaryconversion.h | 4 ++-- io/nativefilestream.cpp | 2 +- io/nativefilestream.h | 2 +- tests/testutils.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conversion/binaryconversion.h b/conversion/binaryconversion.h index 9f5e0fb..d853792 100644 --- a/conversion/binaryconversion.h +++ b/conversion/binaryconversion.h @@ -77,7 +77,7 @@ namespace BE { #endif #include "./binaryconversionprivate.h" #undef CONVERSION_UTILITIES_BINARY_CONVERSION_INTERNAL -} +} // namespace BE /*! * \brief Encapsulates binary conversion functions using the little endian byte order. @@ -92,7 +92,7 @@ namespace LE { #endif #include "./binaryconversionprivate.h" #undef CONVERSION_UTILITIES_BINARY_CONVERSION_INTERNAL -} +} // namespace LE /*! * \brief Returns the 8.8 fixed point representation converted from the specified 32-bit floating point number. diff --git a/io/nativefilestream.cpp b/io/nativefilestream.cpp index c076015..36acd7d 100644 --- a/io/nativefilestream.cpp +++ b/io/nativefilestream.cpp @@ -70,4 +70,4 @@ void NativeFileStream::close() } #endif -} +} // namespace IoUtilities diff --git a/io/nativefilestream.h b/io/nativefilestream.h index 2a82a71..5d4d4ec 100644 --- a/io/nativefilestream.h +++ b/io/nativefilestream.h @@ -40,6 +40,6 @@ inline bool NativeFileStream::is_open() const } #endif -} +} // namespace IoUtilities #endif // IOUTILITIES_NATIVE_FILE_STREAM diff --git a/tests/testutils.cpp b/tests/testutils.cpp index 37407c7..b3a2569 100644 --- a/tests/testutils.cpp +++ b/tests/testutils.cpp @@ -459,7 +459,7 @@ string TestApplication::readTestfilePathFromSrcRef() return string(); } - // check whether the referenced source directory contains a "testfiles" directory + // check whether the referenced source directory contains a "testfiles" directory #ifdef PLATFORM_UNIX // directoryEntries() is not implemented under Windows so we can only to the check under UNIX bool hasTestfilesDir = false; for (const string &dir : directoryEntries(srcDirContent.data(), DirectoryEntryType::Directory)) {