summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.cxx
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/cmGeneratorExpressionNode.cxx
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/cmGeneratorExpressionNode.cxx')
-rw-r--r--Source/cmGeneratorExpressionNode.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx
index 3a41712..398f95b 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -1377,7 +1377,7 @@ cmPolicies::PolicyStatus statusForTarget(cmGeneratorTarget const* tgt,
#undef RETURN_POLICY
- assert(0 && "Unreachable code. Not a valid policy");
+ assert(false && "Unreachable code. Not a valid policy");
return cmPolicies::WARN;
}
@@ -1392,7 +1392,7 @@ cmPolicies::PolicyID policyForString(const char* policy_id)
#undef RETURN_POLICY_ID
- assert(0 && "Unreachable code. Not a valid policy");
+ assert(false && "Unreachable code. Not a valid policy");
return cmPolicies::CMP0002;
}