aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/AnalyzerOptions.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-08-29 05:55:00 +0000
committerTed Kremenek <kremenek@apple.com>2012-08-29 05:55:00 +0000
commit7b73e0832b20af1f43601a3d19e76d02d9f4dce5 (patch)
tree564ac1f3310a01d7ac11ee7223b4a0ff5d8e0ac8 /include/clang/Frontend/AnalyzerOptions.h
parent73212dff6437d409e0c1b779fdcac2f4f98ca8b0 (diff)
Add new -cc1 driver option -analyzer-config, which allows one to specify
a comma separated collection of key:value pairs (which are strings). This allows a general way to provide analyzer configuration data from the command line. No clients yet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/AnalyzerOptions.h')
-rw-r--r--include/clang/Frontend/AnalyzerOptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Frontend/AnalyzerOptions.h b/include/clang/Frontend/AnalyzerOptions.h
index 4e5d7cba7c..5c508ecb2a 100644
--- a/include/clang/Frontend/AnalyzerOptions.h
+++ b/include/clang/Frontend/AnalyzerOptions.h
@@ -17,6 +17,7 @@
#include <string>
#include <vector>
+#include "llvm/ADT/StringMap.h"
namespace clang {
class ASTConsumer;
@@ -78,6 +79,7 @@ class AnalyzerOptions {
public:
/// \brief Pair of checker name and enable/disable.
std::vector<std::pair<std::string, bool> > CheckersControlList;
+ llvm::StringMap<std::string> Config;
AnalysisStores AnalysisStoreOpt;
AnalysisConstraints AnalysisConstraintsOpt;
AnalysisDiagClients AnalysisDiagOpt;