[clang] [llvm] [clang][DependencyScanner] Remove unused -ivfsoverlay files (PR #73734)
Jan Svoboda via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 11:15:05 PST 2024
================
@@ -4991,18 +4991,17 @@ ASTReader::ASTReadResult ASTReader::readUnhashedControlBlockImpl(
F->PragmaDiagMappings.insert(F->PragmaDiagMappings.end(),
Record.begin(), Record.end());
break;
- case HEADER_SEARCH_ENTRY_USAGE:
- if (!F)
- break;
- unsigned Count = Record[0];
- const char *Byte = Blob.data();
- F->SearchPathUsage = llvm::BitVector(Count, false);
- for (unsigned I = 0; I < Count; ++Byte)
- for (unsigned Bit = 0; Bit < 8 && I < Count; ++Bit, ++I)
- if (*Byte & (1 << Bit))
- F->SearchPathUsage[I] = true;
+ case HEADER_SEARCH_ENTRY_USAGE: {
----------------
jansvoboda11 wrote:
Nit: we might not need the braces around case bodies since they don't introduce new variables.
https://github.com/llvm/llvm-project/pull/73734
More information about the llvm-commits
mailing list