[analyzer][PlistMacroExpansion] Part 2.: Retrieving the macro name and primitive...
authorKristof Umann <dkszelethus@gmail.com>
Sun, 4 Nov 2018 13:59:44 +0000 (13:59 +0000)
committerKristof Umann <dkszelethus@gmail.com>
Sun, 4 Nov 2018 13:59:44 +0000 (13:59 +0000)
commit7430213d8e118f85cc4d58b1f75160b8ce52e60e
treec92fad5f2ab89f2b3eb49473a64611dc613e1a3b
parentb075bbd9daf2b877fee5b3462bf42644ec99e643
[analyzer][PlistMacroExpansion] Part 2.: Retrieving the macro name and primitive expansion

This patch adds a couple new functions to acquire the macro's name, and also
expands it, although it doesn't expand the arguments, as seen from the test files

Differential Revision: https://reviews.llvm.org/D52794

llvm-svn: 346095
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.cpp