forked from OSchip/llvm-project
Allow the -fno-operator-names option to be passed down to the rest
of the compiler. Fixes PR10198 Patch by Brian Foley! llvm-svn: 142913
This commit is contained in:
parent
d75675ab3b
commit
8605082dac
|
@ -392,6 +392,7 @@ def fno_objc_default_synthesize_properties
|
|||
def fno_objc_exceptions: Flag<"-fno-objc-exceptions">, Group<f_Group>;
|
||||
def fno_objc_legacy_dispatch : Flag<"-fno-objc-legacy-dispatch">, Group<f_Group>;
|
||||
def fno_omit_frame_pointer : Flag<"-fno-omit-frame-pointer">, Group<f_Group>;
|
||||
def fno_operator_names : Flag<"-fno-operator-names">, Group<f_Group>;
|
||||
def fno_pascal_strings : Flag<"-fno-pascal-strings">, Group<f_Group>;
|
||||
def fno_rtti : Flag<"-fno-rtti">, Group<f_Group>;
|
||||
def fno_short_enums : Flag<"-fno-short-enums">, Group<f_Group>;
|
||||
|
|
|
@ -1704,6 +1704,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
Args.AddLastArg(CmdArgs, options::OPT_femit_all_decls);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_fheinous_gnu_extensions);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_flimit_debug_info);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_fno_operator_names);
|
||||
if (getToolChain().SupportsProfiling())
|
||||
Args.AddLastArg(CmdArgs, options::OPT_pg);
|
||||
|
||||
|
|
Loading…
Reference in New Issue