From: Hans Wennborg Date: Tue, 21 Apr 2015 23:12:03 +0000 (+0000) Subject: Expose -fdiagnostics-parseable-fixits to clang-cl X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afe1032bb8b997808afcc0cca65401f289cff32d;p=clang Expose -fdiagnostics-parseable-fixits to clang-cl 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 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 714943d2b1..ab80b0910a 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -462,7 +462,7 @@ def fdebug_pass_arguments : Flag<["-"], "fdebug-pass-arguments">, Group def fdebug_pass_structure : Flag<["-"], "fdebug-pass-structure">, Group; def fdiagnostics_fixit_info : Flag<["-"], "fdiagnostics-fixit-info">, Group; def fdiagnostics_parseable_fixits : Flag<["-"], "fdiagnostics-parseable-fixits">, 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, Flags<[CC1Option]>, HelpText<"Print source range spans in numeric form">; diff --git a/test/Driver/cl-options.c b/test/Driver/cl-options.c index e36462dab6..1d623ab27d 100644 --- a/test/Driver/cl-options.c +++ b/test/Driver/cl-options.c @@ -350,6 +350,7 @@ // 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 \