diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-20 19:12:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-20 19:12:28 +0000 |
commit | cf2a7211b4785068c7efa836baab90b198a4d2a6 (patch) | |
tree | 44b79c137e5b35c2f938af8911480d280fae8589 /lib/CodeGen | |
parent | 5994d31a8c613c8902324b5ea2ec09ee7024d14a (diff) |
the __gnuc_inline__ attribute is actually named __gnu_inline__,
PR4023
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69618 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 1a52ba2ab1..0526e7845c 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -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 |