r216964 - Add --analyze to clang-cl

Reid Kleckner reid at kleckner.net
Tue Sep 2 14:35:28 PDT 2014


Author: rnk
Date: Tue Sep  2 16:35:28 2014
New Revision: 216964

URL: http://llvm.org/viewvc/llvm-project?rev=216964&view=rev
Log:
Add --analyze to clang-cl

Modified:
    cfe/trunk/include/clang/Driver/Options.td

Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=216964&r1=216963&r2=216964&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Tue Sep  2 16:35:28 2014
@@ -1487,7 +1487,7 @@ def _all_warnings : Flag<["--"], "all-wa
 def _analyze_auto : Flag<["--"], "analyze-auto">, Flags<[DriverOption]>;
 def _analyzer_no_default_checks : Flag<["--"], "analyzer-no-default-checks">, Flags<[DriverOption]>;
 def _analyzer_output : JoinedOrSeparate<["--"], "analyzer-output">, Flags<[DriverOption]>;
-def _analyze : Flag<["--"], "analyze">, Flags<[DriverOption]>,
+def _analyze : Flag<["--"], "analyze">, Flags<[DriverOption, CoreOption]>,
   HelpText<"Run the static analyzer">;
 def _assemble : Flag<["--"], "assemble">, Alias<S>;
 def _assert_EQ : Joined<["--"], "assert=">, Alias<A>;





More information about the cfe-commits mailing list