[PATCH] D93224: [RFC][analyzer] Use the MacroExpansionContext for macro expansions in plists

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 12 09:40:31 PST 2021


steakhal updated this revision to Diff 316139.
steakhal marked 4 inline comments as done.
steakhal added a comment.
This revision is now accepted and ready to land.

Updates:

- Rebase stack.
- Add FileCheck context for `plist-macros-with-expansion.cpp`.
- Remove the `Inputs/expected-plists/plist-macros-with-expansion.cpp.plist` file.
- Create an extra test file, testing C related stuff, such as Implicit function declaration in `plist-macros-with-expansion.c`.
- Return `None` for CTU macro expansions instead of an arbitrary string.


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

https://reviews.llvm.org/D93224

Files:
  clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  clang/test/Analysis/Inputs/expected-plists/plist-macros-with-expansion.cpp.plist
  clang/test/Analysis/plist-macros-with-expansion-ctu.c
  clang/test/Analysis/plist-macros-with-expansion.c
  clang/test/Analysis/plist-macros-with-expansion.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93224.316139.patch
Type: text/x-patch
Size: 279628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210112/0fca548d/attachment-0001.bin>


More information about the cfe-commits mailing list