]> granicus.if.org Git - clang/commitdiff
Expose -fdiagnostics-parseable-fixits to clang-cl
authorHans Wennborg <hans@hanshq.net>
Tue, 21 Apr 2015 23:12:03 +0000 (23:12 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 21 Apr 2015 23:12:03 +0000 (23:12 +0000)
Patch by Daniel Cheng!

Differential Revision: http://reviews.llvm.org/D9175

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@235456 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/Options.td
test/Driver/cl-options.c

index 714943d2b187661c4b05ec8ba86f3eeeb8273e41..ab80b0910a7e0620fe28beb412e060284f7384dc 100644 (file)
@@ -462,7 +462,7 @@ def fdebug_pass_arguments : Flag<["-"], "fdebug-pass-arguments">, Group<f_Group>
 def fdebug_pass_structure : Flag<["-"], "fdebug-pass-structure">, Group<f_Group>;
 def fdiagnostics_fixit_info : Flag<["-"], "fdiagnostics-fixit-info">, Group<f_clang_Group>;
 def fdiagnostics_parseable_fixits : Flag<["-"], "fdiagnostics-parseable-fixits">, Group<f_clang_Group>,
-    Flags<[CC1Option]>, HelpText<"Print fix-its in machine parseable form">;
+    Flags<[CoreOption, CC1Option]>, HelpText<"Print fix-its in machine parseable form">;
 def fdiagnostics_print_source_range_info : Flag<["-"], "fdiagnostics-print-source-range-info">,
     Group<f_clang_Group>,  Flags<[CC1Option]>,
     HelpText<"Print source range spans in numeric form">;
index e36462dab621cd292a9d672cefd2b303810fc4ba..1d623ab27dd146afffac540c5d05e163ee5bc43c 100644 (file)
 // RUN:     -fno-color-diagnostics \
 // RUN:     -fdiagnostics-color \
 // RUN:     -fno-diagnostics-color \
+// RUN:     -fdiagnostics-parseable-fixits \
 // RUN:     -ferror-limit=10 \
 // RUN:     -fmsc-version=1800 \
 // RUN:     -fno-strict-aliasing \