[PATCH] D114095: [clang][lex] Include tracking: simplify and move to preprocessor

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 25 10:44:53 PST 2022


jansvoboda11 updated this revision to Diff 402968.
jansvoboda11 added a comment.

1. Move `HeaderSearch::getFileInfo()` call into `Preprocessor::markIncluded()`.
2. Switch from bitvector to vector of file IDs in AST files.
3. Remove unnecessary usages of `auto`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114095

Files:
  clang/include/clang/Lex/HeaderSearch.h
  clang/include/clang/Lex/Preprocessor.h
  clang/include/clang/Serialization/ASTBitCodes.h
  clang/include/clang/Serialization/ASTReader.h
  clang/include/clang/Serialization/ASTWriter.h
  clang/lib/Lex/HeaderSearch.cpp
  clang/lib/Lex/PPDirectives.cpp
  clang/lib/Lex/Preprocessor.cpp
  clang/lib/Serialization/ASTReader.cpp
  clang/lib/Serialization/ASTWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114095.402968.patch
Type: text/x-patch
Size: 12680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220125/8bb493f8/attachment-0001.bin>


More information about the cfe-commits mailing list