[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 05:29:16 PDT 2018


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

Split `ANALYZER_OPTION_WITH_FN` up to

- `ANALYZER_OPTION_GEN_FN`
- `ANALYZER_OPTION_GEN_FN_DEPENDS_ON_USER_MODE`

and added some `#error` directives to make it harder to misuse the .def file.


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.170333.patch
Type: text/x-patch
Size: 54258 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181021/1a3cc60a/attachment-0001.bin>


More information about the cfe-commits mailing list