diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-12-10 14:17:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-12 19:04:14 (GMT) |
commit | 2988abd9390c1d6876610436883d1f7bcd405d8f (patch) | |
tree | 51c6f1aa4a9bcd1171ce51ffd42b5edca48ba4df /Source/CPack | |
parent | a74e6893480e491959e9165106f199a8cd0edd57 (diff) | |
download | CMake-2988abd9390c1d6876610436883d1f7bcd405d8f.zip CMake-2988abd9390c1d6876610436883d1f7bcd405d8f.tar.gz CMake-2988abd9390c1d6876610436883d1f7bcd405d8f.tar.bz2 |
clang-tidy: apply modernize-use-bool-literals fixes
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/IFW/cmCPackIFWInstaller.cxx | 2 | ||||
-rw-r--r-- | Source/CPack/IFW/cmCPackIFWPackage.cxx | 2 | ||||
-rw-r--r-- | Source/CPack/IFW/cmCPackIFWRepository.cxx | 2 | ||||
-rw-r--r-- | Source/CPack/cmCPackGenerator.h | 2 | ||||
-rw-r--r-- | Source/CPack/cmCPackLog.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWInstaller.cxx b/Source/CPack/IFW/cmCPackIFWInstaller.cxx index a6d443b..9ca7750 100644 --- a/Source/CPack/IFW/cmCPackIFWInstaller.cxx +++ b/Source/CPack/IFW/cmCPackIFWInstaller.cxx @@ -28,7 +28,7 @@ Generator->Logger->Log(logType, __FILE__, __LINE__, \ cmCPackLog_msg.str().c_str()); \ } \ - } while (0) + } while (false) cmCPackIFWInstaller::cmCPackIFWInstaller() : Generator(CM_NULLPTR) diff --git a/Source/CPack/IFW/cmCPackIFWPackage.cxx b/Source/CPack/IFW/cmCPackIFWPackage.cxx index 902c85d..c868a14 100644 --- a/Source/CPack/IFW/cmCPackIFWPackage.cxx +++ b/Source/CPack/IFW/cmCPackIFWPackage.cxx @@ -29,7 +29,7 @@ Generator->Logger->Log(logType, __FILE__, __LINE__, \ cmCPackLog_msg.str().c_str()); \ } \ - } while (0) + } while (false) //---------------------------------------------------------- CompareStruct --- cmCPackIFWPackage::CompareStruct::CompareStruct() diff --git a/Source/CPack/IFW/cmCPackIFWRepository.cxx b/Source/CPack/IFW/cmCPackIFWRepository.cxx index 8d50e30..cc204e8 100644 --- a/Source/CPack/IFW/cmCPackIFWRepository.cxx +++ b/Source/CPack/IFW/cmCPackIFWRepository.cxx @@ -23,7 +23,7 @@ Generator->Logger->Log(logType, __FILE__, __LINE__, \ cmCPackLog_msg.str().c_str()); \ } \ - } while (0) + } while (false) cmCPackIFWRepository::cmCPackIFWRepository() : Update(None) diff --git a/Source/CPack/cmCPackGenerator.h b/Source/CPack/cmCPackGenerator.h index 10a5a36..5354fca 100644 --- a/Source/CPack/cmCPackGenerator.h +++ b/Source/CPack/cmCPackGenerator.h @@ -30,7 +30,7 @@ class cmMakefile; cmCPackLog_msg << msg; \ this->Logger->Log(logType, __FILE__, __LINE__, \ cmCPackLog_msg.str().c_str()); \ - } while (0) + } while (false) /** \class cmCPackGenerator * \brief A superclass of all CPack Generators diff --git a/Source/CPack/cmCPackLog.h b/Source/CPack/cmCPackLog.h index 419c932..a988ccc 100644 --- a/Source/CPack/cmCPackLog.h +++ b/Source/CPack/cmCPackLog.h @@ -14,7 +14,7 @@ std::ostringstream cmCPackLog_msg; \ cmCPackLog_msg << msg; \ (ctSelf)->Log(logType, __FILE__, __LINE__, cmCPackLog_msg.str().c_str()); \ - } while (0) + } while (false) /** \class cmCPackLog * \brief A container for CPack generators |