summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-20 19:12:28 +0000
committerChris Lattner <sabre@nondot.org>2009-04-20 19:12:28 +0000
commitddf6ca0355a85e9c0626072256586fa471108251 (patch)
tree1db2152a04fbc255490fa079493445cf82d43f8f /clang/lib/CodeGen/CodeGenModule.cpp
parent45dfbd16b052347a8b433f02f436a41529086a5a (diff)
downloadbcm5719-llvm-ddf6ca0355a85e9c0626072256586fa471108251.tar.gz
bcm5719-llvm-ddf6ca0355a85e9c0626072256586fa471108251.zip
the __gnuc_inline__ attribute is actually named __gnu_inline__,
PR4023 llvm-svn: 69618
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 1a52ba2ab19..0526e7845cc 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud