Ran into this when trying to turn off modules mode in clangd.
Took me a long time to (mostly) work out the logic behind this function
so documented my understanding, hopefully it's correct!
Paths
| Differential D138193
[Serialization] Fix crash writing non-module PCH in non-module mode including modular headers Needs ReviewPublic Authored by sammccall on Nov 17 2022, 3:13 AM.
Details
Summary Ran into this when trying to turn off modules mode in clangd. Took me a long time to (mostly) work out the logic behind this function
Diff Detail
Revision Contents
Diff 476068 clang/lib/Serialization/ASTWriter.cpp
clang/test/PCH/preamble-modules.cpp
|