From ddf6ca0355a85e9c0626072256586fa471108251 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 20 Apr 2009 19:12:28 +0000 Subject: the __gnuc_inline__ attribute is actually named __gnu_inline__, PR4023 llvm-svn: 69618 --- clang/lib/CodeGen/CodeGenModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 1a52ba2ab19f..0526e7845ccf 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()) + if (FD->hasAttr()) return CodeGenModule::GVA_StrongExternal; // The definition of inline changes based on the language. Note that we -- cgit v1.2.3