Skip to content

Commit 0e8e782

Browse files
committed
[clang][modules] NFC: Use local instead of ModuleFile member
1 parent 6dd00a2 commit 0e8e782

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Serialization/ASTReader.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6484,8 +6484,7 @@ void ASTReader::ReadPragmaDiagnosticMappings(DiagnosticsEngine &Diag) {
64846484
// Read the final state.
64856485
assert(Idx < Record.size() &&
64866486
"Invalid data, missing final pragma diagnostic state");
6487-
SourceLocation CurStateLoc =
6488-
ReadSourceLocation(F, F.PragmaDiagMappings[Idx++]);
6487+
SourceLocation CurStateLoc = ReadSourceLocation(F, Record[Idx++]);
64896488
auto *CurState = ReadDiagState(*FirstState, false);
64906489

64916490
if (!F.isModule()) {

0 commit comments

Comments
 (0)