r191011 - clang-cl: Accept -fmsc-version so we can set it without -Xclang

Reid Kleckner reid at kleckner.net
Thu Sep 19 10:00:54 PDT 2013

Author: rnk
Date: Thu Sep 19 12:00:54 2013
New Revision: 191011

URL: http://llvm.org/viewvc/llvm-project?rev=191011&view=rev
clang-cl: Accept -fmsc-version so we can set it without -Xclang


Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=191011&r1=191010&r2=191011&view=diff
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Thu Sep 19 12:00:54 2013
@@ -539,7 +539,7 @@ def fms_extensions : Flag<["-"], "fms-ex
   HelpText<"Accept some non-standard constructs supported by the Microsoft compiler">;
 def fms_compatibility : Flag<["-"], "fms-compatibility">, Group<f_Group>, Flags<[CC1Option]>,
   HelpText<"Enable Microsoft compatibility mode">;
-def fmsc_version : Joined<["-"], "fmsc-version=">, Group<f_Group>, Flags<[CC1Option]>,
+def fmsc_version : Joined<["-"], "fmsc-version=">, Group<f_Group>, Flags<[CC1Option, CoreOption]>,
   HelpText<"Version of the Microsoft C/C++ compiler to report in _MSC_VER (0 = don't define it (default))">;
 def fdelayed_template_parsing : Flag<["-"], "fdelayed-template-parsing">, Group<f_Group>,
   HelpText<"Parse templated function definitions at the end of the "

More information about the cfe-commits mailing list