[PATCH] D93222: [analyzer] Introduce MacroExpansionContext to libAnalysis
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 25 08:05:26 PST 2021
steakhal updated this revision to Diff 319011.
steakhal added a comment.
Ignore `_Pragma` macro expansions, also ignore those during lexing.
Added a unit-test to demonstrate that we don't crash and these expansions are not recorded.
Fix typo in `MacroExpansionContext.cpp` header comment.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93222/new/
https://reviews.llvm.org/D93222
Files:
clang/include/clang/Analysis/MacroExpansionContext.h
clang/lib/Analysis/CMakeLists.txt
clang/lib/Analysis/MacroExpansionContext.cpp
clang/unittests/Analysis/CMakeLists.txt
clang/unittests/Analysis/MacroExpansionContextTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93222.319011.patch
Type: text/x-patch
Size: 30062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210125/1b66ea24/attachment-0001.bin>
More information about the cfe-commits
mailing list