]> granicus.if.org Git - clang/commit
[analyzer] Insert checker options into AnalyzerOption::ConfigTable
authorKristof Umann <kristof.umann@ericsson.com>
Fri, 17 May 2019 09:29:44 +0000 (09:29 +0000)
committerKristof Umann <kristof.umann@ericsson.com>
Fri, 17 May 2019 09:29:44 +0000 (09:29 +0000)
commit786546290e1a65c82093c02bbf7f3c7724afa8ca
tree7f942a6f725cdc6caa4d1429686e7068c15b8e5b
parent648d43101559873b93fbcd6a7e92ec9e3af40b99
[analyzer] Insert checker options into AnalyzerOption::ConfigTable

The more entries we have in AnalyzerOptions::ConfigTable, the more helpful
debug.ConfigDumper is. With this patch, I'm pretty confident that it'll now emit
the entire state of the analyzer, minus the frontend flags.

It would be nice to reserve the config table specifically to checker options
only, as storing the regular analyzer configs is kinda redundant.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361006 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
test/Analysis/analyzer-config.c
test/Analysis/checker-plugins.c