summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionParser.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/cmGeneratorExpressionParser.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/cmGeneratorExpressionParser.cxx')
-rw-r--r--Source/cmGeneratorExpressionParser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorExpressionParser.cxx b/Source/cmGeneratorExpressionParser.cxx
index 3b56416..c33349a 100644
--- a/Source/cmGeneratorExpressionParser.cxx
+++ b/Source/cmGeneratorExpressionParser.cxx
@@ -242,11 +242,11 @@ void cmGeneratorExpressionParser::ParseContent(
if (this->NestingLevel == 0) {
extendText(result, this->it);
} else {
- assert(0 && "Got unexpected syntax token.");
+ assert(false && "Got unexpected syntax token.");
}
assert(this->it != this->Tokens.end());
++this->it;
return;
}
- assert(0 && "Unhandled token in generator expression.");
+ assert(false && "Unhandled token in generator expression.");
}