vsapsai added inline comments.

================
Comment at: clang/lib/Serialization/ASTWriter.cpp:873
   RECORD(PP_TOKEN);
+  RECORD(PP_INCLUDED_FILES);
 
----------------
I believe `PP_INCLUDED_FILES` is located in `AST_BLOCK`. Yes, you write it in 
`ASTWriter::WritePreprocessor` but after `Stream.ExitBlock()` together with 
`MACRO_OFFSET`. And then you read it in `ASTReader::ReadASTBlock` at the top 
level and not inside `case PREPROCESSOR_BLOCK_ID` or from 
`ModuleFile::MacroCursor`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114095/new/

https://reviews.llvm.org/D114095

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to