We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ModuleFile
1 parent 6dd00a2 commit 0e8e782Copy full SHA for 0e8e782
clang/lib/Serialization/ASTReader.cpp
@@ -6484,8 +6484,7 @@ void ASTReader::ReadPragmaDiagnosticMappings(DiagnosticsEngine &Diag) {
6484
// Read the final state.
6485
assert(Idx < Record.size() &&
6486
"Invalid data, missing final pragma diagnostic state");
6487
- SourceLocation CurStateLoc =
6488
- ReadSourceLocation(F, F.PragmaDiagMappings[Idx++]);
+ SourceLocation CurStateLoc = ReadSourceLocation(F, Record[Idx++]);
6489
auto *CurState = ReadDiagState(*FirstState, false);
6490
6491
if (!F.isModule()) {
0 commit comments