Files
clang-p2996/clang/lib/Serialization/GlobalModuleIndex.cpp
Jan Svoboda 6fb08d8f55 Reland "[clang][modules] Move UNHASHED_CONTROL_BLOCK up in the AST file"
This reverts commit b6ba804f77, effectively relanding commit 7d1565727d.

The original commit incorrectly called `ASTWriter::writeUnhashedControlBlock()` before `ASTWriter::collectNonAffectingInputFiles()`, causing SourceLocations/FileIDs in the pragma diagnostic mappings block to be invalid. This is now tested by `clang/test/Modules/diag-mappings-affecting.c`.
2023-08-28 09:54:39 -07:00

31 KiB