[PATCH] D52794: [analyzer][PlistMacroExpansion] Part 2.: Retrieving the macro name and primitive expansion

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 31 10:43:26 PDT 2018


Szelethus updated this revision to Diff 171962.
Szelethus added a comment.

Fixes according to @xazax.hun's remarks. Thanks for catching that, it was a non-trivial cornercase!

- Now I'm acquiring the macro directive history, and choosing the appropriate macro definition in `getMacroNameAndInfo`
- Rebased to the now commited first part.


https://reviews.llvm.org/D52794

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52794.171962.patch
Type: text/x-patch
Size: 39689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181031/c109e8a2/attachment-0001.bin>


More information about the cfe-commits mailing list