forked from OSchip/llvm-project
parent
dac0238ed2
commit
922a624144
|
@ -300,6 +300,7 @@ def fno_for_scope : Flag<"-fno-for-scope">, Group<f_Group>;
|
|||
def ffreestanding : Flag<"-ffreestanding">, Group<f_Group>;
|
||||
def fgnu_keywords : Flag<"-fgnu-keywords">, Group<f_Group>;
|
||||
def fgnu89_inline : Flag<"-fgnu89-inline">, Group<f_Group>;
|
||||
def fno_gnu89_inline : Flag<"-fno-gnu89-inline">, Group<f_Group>;
|
||||
def fgnu_runtime : Flag<"-fgnu-runtime">, Group<f_Group>;
|
||||
def fheinous_gnu_extensions : Flag<"-fheinous-gnu-extensions">;
|
||||
def filelist : Separate<"-filelist">, Flags<[LinkerInput]>;
|
||||
|
|
|
@ -1712,7 +1712,9 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
options::OPT_fno_gnu_keywords))
|
||||
A->render(Args, CmdArgs);
|
||||
|
||||
if (Arg *A = Args.getLastArg(options::OPT_fgnu89_inline))
|
||||
if (Args.hasFlag(options::OPT_fgnu89_inline,
|
||||
options::OPT_fno_gnu89_inline,
|
||||
false))
|
||||
CmdArgs.push_back("-fgnu89-inline");
|
||||
|
||||
// -fnext-runtime defaults to on Darwin and when rewriting Objective-C, and is
|
||||
|
|
Loading…
Reference in New Issue