summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-17 22:49:50 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-17 22:49:50 +0000
commitc4b766bc65927dd1b09c1014287aa5e0325dcb1c (patch)
tree36e56c0e8799cc11e8d6b30458862e1e76bd5d20 /clang/lib/CodeGen/CodeGenModule.cpp
parentb1743254e7e3c273b4dafe1512527d2163ae3a3e (diff)
downloadbcm5719-llvm-c4b766bc65927dd1b09c1014287aa5e0325dcb1c.tar.gz
bcm5719-llvm-c4b766bc65927dd1b09c1014287aa5e0325dcb1c.zip
Move CXXMethodDecl::OutOfLineDefinition into Decl::OutOfLine.
llvm-svn: 73651
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 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<CXXMethodDecl>(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;
OpenPOWER on IntegriCloud