diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-07-07 12:24:18 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-07-07 12:24:18 +0000 |
commit | 4aedb1cab1a731bfa5c82459669320a72b0d6e66 (patch) | |
tree | bc4ba488d7f7cfc454b48a26f97ab696a7cb89c2 /lib/CodeGen/CGRTTI.cpp | |
parent | 082a625c98588aa3e6f825c58e56ad13bd3d6de6 (diff) |
getBody() -> hasBody()
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGRTTI.cpp')
-rw-r--r-- | lib/CodeGen/CGRTTI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGRTTI.cpp b/lib/CodeGen/CGRTTI.cpp index 4f058299b0..1cca97702d 100644 --- a/lib/CodeGen/CGRTTI.cpp +++ b/lib/CodeGen/CGRTTI.cpp @@ -271,7 +271,7 @@ static bool ShouldUseExternalRTTIDescriptor(ASTContext &Context, // Get the key function. const CXXMethodDecl *KeyFunction = RD->getASTContext().getKeyFunction(RD); - if (KeyFunction && !KeyFunction->getBody()) { + if (KeyFunction && !KeyFunction->hasBody()) { // The class has a key function, but it is not defined in this translation // unit, so we should use the external descriptor for it. return true; |