From cf2a7211b4785068c7efa836baab90b198a4d2a6 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69618 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/CodeGenModule.cpp') 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()) + if (FD->hasAttr()) return CodeGenModule::GVA_StrongExternal; // The definition of inline changes based on the language. Note that we -- cgit v1.2.3-18-g5258