[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:33:44 PDT 2018
Szelethus added inline comments.
================
Comment at: include/clang/StaticAnalyzer/Core/AnalyzerOptions.def:386
+
+ANALYZER_OPTION_WITH_FN(StringRef, ModelPath, "model-path", "", "",
+ getModelPath)
----------------
Szelethus wrote:
> Found the use for this here: https://github.com/llvm-mirror/clang/blob/master/lib/StaticAnalyzer/Frontend/ModelInjector.cpp#L51
>
> Which was added by this commit:
> https://github.com/llvm-mirror/clang/commit/fdf0d3513240fd8e4da6942e9cd26d2d730eb37b#diff-6e67e63f578935f02bd1d5b20488ea8c
> >This patch was contributed by Gábor Horváth as part of his Google Summer of Code project.
>
> @xazax.hun, what would be a good description for this flag?
This inline was meant for:
`ANALYZER_OPTION_GEN_FN(StringRef, ModelPath, "model-path", "", "", getModelPath)`
https://reviews.llvm.org/D53277
More information about the cfe-commits
mailing list