forked from OSchip/llvm-project
clang-cl: Accept and mostly ignore /vm*, /GF, /GF-, /Zm, and /bigobj
Patch by David Ziman! llvm-svn: 192141
This commit is contained in:
parent
20d920c844
commit
b66ae3f34f
|
@ -57,6 +57,8 @@ def _SLASH_D : CLJoinedOrSeparate<"D">, HelpText<"Define macro">,
|
|||
MetaVarName<"<macro[=value]>">, Alias<D>;
|
||||
def _SLASH_GR : CLFlag<"GR">, HelpText<"Enable RTTI">, Alias<frtti>;
|
||||
def _SLASH_GR_ : CLFlag<"GR-">, HelpText<"Disable RTTI">, Alias<fno_rtti>;
|
||||
def _SLASH_GF_ : CLFlag<"GF-">, HelpText<"Disable string pooling">,
|
||||
Alias<fwritable_strings>;
|
||||
def _SLASH_help : CLFlag<"help">, Alias<help>,
|
||||
HelpText<"Display available options">;
|
||||
def _SLASH_I : CLJoinedOrSeparate<"I">,
|
||||
|
@ -144,18 +146,22 @@ def _SLASH_TP : CLCompileFlag<"TP">, HelpText<"Treat all source files as C++">;
|
|||
|
||||
def _SLASH_analyze_ : CLIgnoredFlag<"analyze-">;
|
||||
def _SLASH_errorReport : CLIgnoredJoined<"errorReport">;
|
||||
def _SLASH_GF : CLIgnoredFlag<"GF">;
|
||||
def _SLASH_GS_ : CLIgnoredFlag<"GS-">;
|
||||
def _SLASH_nologo : CLIgnoredFlag<"nologo">;
|
||||
def _SLASH_Ob1 : CLIgnoredFlag<"Ob1">;
|
||||
def _SLASH_Ob2 : CLIgnoredFlag<"Ob2">;
|
||||
def _SLASH_RTC : CLIgnoredJoined<"RTC">;
|
||||
def _SLASH_vmg : CLIgnoredFlag<"vmg">;
|
||||
def _SLASH_w : CLIgnoredJoined<"w">;
|
||||
def _SLASH_Zc_forScope : CLIgnoredFlag<"Zc:forScope">;
|
||||
def _SLASH_Zc_wchar_t : CLIgnoredFlag<"Zc:wchar_t">;
|
||||
def _SLASH_w : CLIgnoredJoined<"w">;
|
||||
def _SLASH_Zm : CLIgnoredJoined<"Zm">;
|
||||
|
||||
|
||||
// Unsupported:
|
||||
|
||||
def _SLASH_bigobj : CLFlag<"bigobj">;
|
||||
def _SLASH_EH : CLJoined<"EH">;
|
||||
def _SLASH_Fd : CLJoined<"Fd">;
|
||||
def _SLASH_fp : CLJoined<"fp">;
|
||||
|
@ -170,6 +176,10 @@ def _SLASH_Gy_ : CLFlag<"Gy-">;
|
|||
def _SLASH_GZ : CLFlag<"GZ">;
|
||||
def _SLASH_MP : CLJoined<"MP">;
|
||||
def _SLASH_o : CLJoinedOrSeparate<"o">;
|
||||
def _SLASH_vmb : CLFlag<"vmb">;
|
||||
def _SLASH_vmm : CLFlag<"vmm">;
|
||||
def _SLASH_vms : CLFlag<"vms">;
|
||||
def _SLASH_vmv : CLFlag<"vmv">;
|
||||
def _SLASH_Za : CLFlag<"Za">;
|
||||
def _SLASH_Zc : CLJoined<"Zc:">;
|
||||
def _SLASH_ZI : CLFlag<"ZI">;
|
||||
|
|
Loading…
Reference in New Issue