summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-12-10 14:17:06 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-12 19:04:14 (GMT)
commit2988abd9390c1d6876610436883d1f7bcd405d8f (patch)
tree51c6f1aa4a9bcd1171ce51ffd42b5edca48ba4df /Source/cmCTest.h
parenta74e6893480e491959e9165106f199a8cd0edd57 (diff)
downloadCMake-2988abd9390c1d6876610436883d1f7bcd405d8f.zip
CMake-2988abd9390c1d6876610436883d1f7bcd405d8f.tar.gz
CMake-2988abd9390c1d6876610436883d1f7bcd405d8f.tar.bz2
clang-tidy: apply modernize-use-bool-literals fixes
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index 8fc646f..4d33458 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -27,7 +27,7 @@ class cmXMLWriter;
cmCTestLog_msg << msg; \
(ctSelf)->Log(cmCTest::logType, __FILE__, __LINE__, \
cmCTestLog_msg.str().c_str()); \
- } while (0)
+ } while (false)
#define cmCTestOptionalLog(ctSelf, logType, msg, suppress) \
do { \
@@ -35,7 +35,7 @@ class cmXMLWriter;
cmCTestLog_msg << msg; \
(ctSelf)->Log(cmCTest::logType, __FILE__, __LINE__, \
cmCTestLog_msg.str().c_str(), suppress); \
- } while (0)
+ } while (false)
/** \class cmCTest
* \brief Represents a ctest invocation.