[clang] [WIP][C++20][Modules] Lazily, but fully load 'HeaderFileInfo' table into memory. (PR #140867)
Chuanqi Xu via cfe-commits
cfe-commits at lists.llvm.org
Wed May 21 19:16:16 PDT 2025
================
@@ -654,6 +654,10 @@ class ASTReader
/// Map from the TU to its lexical contents from each module file.
std::vector<std::pair<ModuleFile*, LexicalContents>> TULexicalDecls;
+ unsigned HeaderFileInfoIdx = 0;
----------------
ChuanqiXu9 wrote:
nit: Unloaded header file info idx.
And also I feel the name is odd. It is index for module files, not header file infos.
https://github.com/llvm/llvm-project/pull/140867
More information about the cfe-commits
mailing list