[all-commits] [llvm/llvm-project] f72027: [clang][lex] Include tracking: simplify and move t...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Wed Jan 26 06:56:40 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7202723304461c4f94399b906333d6ede85579a
https://github.com/llvm/llvm-project/commit/f7202723304461c4f94399b906333d6ede85579a
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2022-01-26 (Wed, 26 Jan 2022)
Changed paths:
M clang/include/clang/Lex/HeaderSearch.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/lib/Lex/HeaderSearch.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Lex/Preprocessor.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[clang][lex] Include tracking: simplify and move to preprocessor
This patch replaces the exact include count of each file in `HeaderFileInfo` with a set of included files in `Preprocessor`.
The number of includes isn't a property of a header file but rather a preprocessor state. The exact number of includes is not used anywhere except statistic tracking.
Reviewed By: vsapsai
Differential Revision: https://reviews.llvm.org/D114095
More information about the All-commits
mailing list