forked from OSchip/llvm-project
[Basic] Rename LangOptions::NoInline to NoInlineDefine, to make things a bit
more obvious. llvm-svn: 152408
This commit is contained in:
parent
c72fdf4490
commit
7b93f636e0
|
@ -98,7 +98,7 @@ VALUE_LANGOPT(PackStruct , 32, 0,
|
|||
"default struct packing maximum alignment")
|
||||
VALUE_LANGOPT(PICLevel , 2, 0, "__PIC__ level")
|
||||
LANGOPT(GNUInline , 1, 0, "GNU inline semantics")
|
||||
LANGOPT(NoInline , 1, 0, "__NO_INLINE__ predefined macro")
|
||||
LANGOPT(NoInlineDefine , 1, 0, "__NO_INLINE__ predefined macro")
|
||||
LANGOPT(Deprecated , 1, 0, "__DEPRECATED predefined macro")
|
||||
LANGOPT(FastMath , 1, 0, "__FAST_MATH__ predefined macro")
|
||||
|
||||
|
|
|
@ -2000,7 +2000,7 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK,
|
|||
// inlining enabled.
|
||||
//
|
||||
// FIXME: This is affected by other options (-fno-inline).
|
||||
Opts.NoInline = !Opt;
|
||||
Opts.NoInlineDefine = !Opt;
|
||||
|
||||
Opts.FastMath = Args.hasArg(OPT_ffast_math);
|
||||
|
||||
|
|
|
@ -518,7 +518,7 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
|
|||
else
|
||||
Builder.defineMacro("__GNUC_STDC_INLINE__");
|
||||
|
||||
if (LangOpts.NoInline)
|
||||
if (LangOpts.NoInlineDefine)
|
||||
Builder.defineMacro("__NO_INLINE__");
|
||||
|
||||
if (unsigned PICLevel = LangOpts.PICLevel) {
|
||||
|
|
Loading…
Reference in New Issue