[PATCH] D53277: [analyzer][NFC] Collect all -analyzer-config options in a .def file

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 21 10:47:21 PDT 2018


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

Added default value to `ANALYZER_OPTION` and split it upto

- `ANALYZER_OPTION` and
- `ANALYZER_OPTION_DEPENDS_ON_USER_MODE`.

The `TYPE` entry only holds `bool`, `unsigned` and `StringRef now. These things will make followup patches significantly more pleasant to implement.


https://reviews.llvm.org/D53277

Files:
  include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
  include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
  lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
  lib/StaticAnalyzer/Core/CoreEngine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53277.170343.patch
Type: text/x-patch
Size: 61617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181021/cc783862/attachment-0001.bin>


More information about the cfe-commits mailing list