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

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 14 08:19:22 PST 2020


steakhal created this revision.
steakhal added reviewers: NoQ, vsavchenko, xazax.hun, martong, balazske, Szelethus.
Herald added subscribers: Charusso, rnkovacs.
steakhal requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This will break the CTU tests!

This is just to showcase how much code can be removed from the `PlistsDiagnostics` and how the non-CTU execution path will look like.


Repository:
  rG LLVM Github Monorepo

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.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93224.311598.patch
Type: text/x-patch
Size: 150859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201214/56b4f42f/attachment-0001.bin>


More information about the cfe-commits mailing list