From c4b766bc65927dd1b09c1014287aa5e0325dcb1c Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Wed, 17 Jun 2009 22:49:50 +0000 Subject: Move CXXMethodDecl::OutOfLineDefinition into Decl::OutOfLine. llvm-svn: 73651 --- 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 82156e9ffa5..a0f0492378f 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -244,7 +244,7 @@ static CodeGenModule::GVALinkage GetLinkageForFunction(const FunctionDecl *FD, const LangOptions &Features) { if (const CXXMethodDecl *MD = dyn_cast(FD)) { // C++ member functions defined inside the class are always inline. - if (MD->isInline() || !MD->isOutOfLineDefinition()) + if (MD->isInline() || !MD->isOutOfLine()) return CodeGenModule::GVA_CXXInline; return CodeGenModule::GVA_StrongExternal; -- cgit v1.2.3