the __gnuc_inline__ attribute is actually named __gnu_inline__,

PR4023

llvm-svn: 69618
This commit is contained in:
Chris Lattner
2009-04-20 19:12:28 +00:00
parent 45dfbd16b0
commit ddf6ca0355
11 changed files with 26 additions and 26 deletions

View File

@@ -240,7 +240,7 @@ GetLinkageForFunction(const FunctionDecl *FD, const LangOptions &Features) {
// If the inline function explicitly has the GNU inline attribute on it, then
// force to GNUC semantics (which is strong external), regardless of language.
if (FD->hasAttr<GNUCInlineAttr>())
if (FD->hasAttr<GNUInlineAttr>())
return CodeGenModule::GVA_StrongExternal;
// The definition of inline changes based on the language. Note that we