diff options
author | Kazu Hirata <kazu@google.com> | 2022-01-09 00:19:47 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-01-09 00:19:47 -0800 |
commit | 40446663c73831f166c4432edb2997d88fd167a9 (patch) | |
tree | aab09c69baaed6d7db2d82ae84f4708f44b1dc15 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 4cd768ed5e735da5f97be22c6da9483a39e20f3d (diff) | |
download | llvm-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/Frontend/CompilerInstance.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index 31e7ea3..4ef5094 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -1414,7 +1414,7 @@ static bool compileModuleAndReadASTBehindLock( StringRef Dir = llvm::sys::path::parent_path(ModuleFileName); llvm::sys::fs::create_directories(Dir); - while (1) { + while (true) { llvm::LockFileManager Locked(ModuleFileName); switch (Locked) { case llvm::LockFileManager::LFS_Error: |