[PATCH] D117348: [Preprocessor] Reduce the memory overhead of `#define` directives

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 1 14:35:29 PST 2022


arphaman updated this revision to Diff 405103.
arphaman marked 4 inline comments as done.
arphaman added a comment.

Update to address review feedback, remove `appendToken` which is not needed as we're can just `setTokens` instead (it's a new macro info)


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

https://reviews.llvm.org/D117348

Files:
  clang/include/clang/Lex/MacroInfo.h
  clang/lib/Lex/MacroInfo.cpp
  clang/lib/Lex/PPDirectives.cpp
  clang/lib/Serialization/ASTReader.cpp
  clang/lib/Serialization/ASTWriter.cpp
  clang/unittests/Lex/CMakeLists.txt
  clang/unittests/Lex/PPMemoryAllocationsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117348.405103.patch
Type: text/x-patch
Size: 15863 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220201/af34464a/attachment.bin>


More information about the cfe-commits mailing list