aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Rewrite/HTMLRewrite.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-01-09 00:19:47 -0800
committerKazu Hirata <kazu@google.com>2022-01-09 00:19:47 -0800
commit40446663c73831f166c4432edb2997d88fd167a9 (patch)
treeaab09c69baaed6d7db2d82ae84f4708f44b1dc15 /clang/lib/Rewrite/HTMLRewrite.cpp
parent4cd768ed5e735da5f97be22c6da9483a39e20f3d (diff)
downloadllvm-40446663c73831f166c4432edb2997d88fd167a9.zip
llvm-40446663c73831f166c4432edb2997d88fd167a9.tar.gz
llvm-40446663c73831f166c4432edb2997d88fd167a9.tar.bz2
[clang] Use true/false instead of 1/0 (NFC)
Identified with modernize-use-bool-literals.
Diffstat (limited to 'clang/lib/Rewrite/HTMLRewrite.cpp')
-rw-r--r--clang/lib/Rewrite/HTMLRewrite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Rewrite/HTMLRewrite.cpp b/clang/lib/Rewrite/HTMLRewrite.cpp
index e9b678b..70ea2fc 100644
--- a/clang/lib/Rewrite/HTMLRewrite.cpp
+++ b/clang/lib/Rewrite/HTMLRewrite.cpp
@@ -542,7 +542,7 @@ void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) {
// Lex all the tokens in raw mode, to avoid entering #includes or expanding
// macros.
- while (1) {
+ while (true) {
Token Tok;
L.LexFromRawLexer(Tok);