[PATCH] D52742: [analyzer][WIP] Add macro expansions to the plist output

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 2 04:55:01 PDT 2018


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

- Fixes according to @whisperity's comments
- New test cases for
  - commas in brackets,
  - commas in braces,
  - macro arguments left empty.

> (The whole thing, however, is generally disgusting. I'd've expected the Preprocessor to readily contain a lot of stuff that's going on here.)

Don't even get me started.


https://reviews.llvm.org/D52742

Files:
  include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
  lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
  lib/StaticAnalyzer/Core/BugReporter.cpp
  lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  test/Analysis/plist-macros-with-expansion.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52742.167924.patch
Type: text/x-patch
Size: 21976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181002/9de8afb1/attachment-0001.bin>


More information about the cfe-commits mailing list