diff options
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
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 |