diff options
| author | Kazu Hirata <kazu@google.com> | 2022-01-07 00:39:13 -0800 |
|---|---|---|
| committer | Kazu Hirata <kazu@google.com> | 2022-01-07 00:39:14 -0800 |
| commit | 2aed08131df569809ab4826036cb963e6d2eb16c (patch) | |
| tree | adfa6671aa65baf628a6e8a3b97957b6c436545c /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | |
| parent | 34646a2f7ee1564b0f6ff706b32d7206e39aac9f (diff) | |
[llvm] Use true/false instead of 1/0 (NFC)
Identified with modernize-use-bool-literals.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
| -rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp b/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp index a36b256c29b6..ffef35299981 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp @@ -781,7 +781,7 @@ Error BitcodeAnalyzer::parseBlock(unsigned BlockID, unsigned IndentLevel, uint64_t MetadataIndexOffset = 0; // Read all the records for this block. - while (1) { + while (true) { if (Stream.AtEndOfStream()) return reportError("Premature end of bitstream"); |
