[PATCH] D114096: [clang][lex][modules] Stop tracking number of includes
Jan Svoboda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 17 08:22:12 PST 2021
jansvoboda11 created this revision.
jansvoboda11 added reviewers: Bigcheese, dexonsmith, vsapsai.
Herald added a subscriber: mgrang.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch stops tracking the number of includes of a file. The information is not used anywhere except for stat printing. Only tracking the fact whether a file was included or not simplifies the code and should be more efficient.
Depends on D114095 <https://reviews.llvm.org/D114095>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114096
Files:
clang/include/clang/Lex/Preprocessor.h
clang/lib/Lex/Preprocessor.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114096.387951.patch
Type: text/x-patch
Size: 5055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211117/dd230927/attachment-0001.bin>
More information about the cfe-commits
mailing list