[Basic] Rename LangOptions::NoInline to NoInlineDefine, to make things a bit

more obvious.

llvm-svn: 152408
This commit is contained in:
Daniel Dunbar 2012-03-09 15:39:08 +00:00
parent c72fdf4490
commit 7b93f636e0
3 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -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);

View File

@ -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) {