aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-08-30 05:49:16 +0000
committerTed Kremenek <kremenek@apple.com>2012-08-30 05:49:16 +0000
commit318cc3c07eaca04d319be841e9e3bac35d1ff9f5 (patch)
tree0b03de4090577163ae21d4d481469895499cc091 /include
parent50f88b99c60c2ed31b339cd8bd484766cc9e916b (diff)
Change -analyzer-config to use '=' as the key-value separator, and only
support the '-analyzer-config key=val' variant. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Basic/DiagnosticDriverKinds.td2
-rw-r--r--include/clang/Driver/CC1Options.td4
2 files changed, 2 insertions, 4 deletions
diff --git a/include/clang/Basic/DiagnosticDriverKinds.td b/include/clang/Basic/DiagnosticDriverKinds.td
index 724a9a813b..e0a89a1cc3 100644
--- a/include/clang/Basic/DiagnosticDriverKinds.td
+++ b/include/clang/Basic/DiagnosticDriverKinds.td
@@ -145,5 +145,5 @@ def note_drv_command_failed_diag_msg : Note<
def err_analyzer_config_no_value : Error<
"analyzer-config option '%0' has a key but no value">;
def err_analyzer_config_multiple_values : Error<
- "analyzer-config option '%0' should contain only one ':'">;
+ "analyzer-config option '%0' should contain only one '='">;
}
diff --git a/include/clang/Driver/CC1Options.td b/include/clang/Driver/CC1Options.td
index 9213d217ef..53bbfa4ed2 100644
--- a/include/clang/Driver/CC1Options.td
+++ b/include/clang/Driver/CC1Options.td
@@ -120,9 +120,7 @@ def analyzer_checker_help : Flag<"-analyzer-checker-help">,
HelpText<"Display the list of analyzer checkers that are available">;
def analyzer_config : Separate<"-analyzer-config">,
- HelpText<"Choose analyzer checkers to enable">;
-def analyzer_config_EQ : Joined<"-analyzer-config=">,
- Alias<analyzer_config>;
+ HelpText<"Choose analyzer options to enable">;
//===----------------------------------------------------------------------===//
// Migrator Options