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 | 54fcbc734587eda11de3fb209cbb75d152cac4bc (patch) | |
tree | f3de0acd5ba59d2c170ccbbcd8dc843bee6a9298 /clang/lib/CodeGen | |
parent | 0b6a06a3353eca29ef8935944a5da18ac34fc2c6 (diff) | |
download | bcm5719-llvm-54fcbc734587eda11de3fb209cbb75d152cac4bc.tar.gz bcm5719-llvm-54fcbc734587eda11de3fb209cbb75d152cac4bc.zip |
getBody() -> hasBody()
llvm-svn: 107773
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGRTTI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGRTTI.cpp b/clang/lib/CodeGen/CGRTTI.cpp index 4f058299b07..1cca97702dd 100644 --- a/clang/lib/CodeGen/CGRTTI.cpp +++ b/clang/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; |