summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-07-01 14:13:13 +0000
committerDouglas Gregor <dgregor@apple.com>2010-07-01 14:13:13 +0000
commitbac7490ffc23704cce0648ea962314744acf30ab (patch)
treef0c2acf7e26ce7140aee2967fff2e7d84ee84097 /clang/lib/CodeGen/CGDecl.cpp
parentd2965c10a1b64c6678cccd4708efe12f0f78bfeb (diff)
downloadbcm5719-llvm-bac7490ffc23704cce0648ea962314744acf30ab.tar.gz
bcm5719-llvm-bac7490ffc23704cce0648ea962314744acf30ab.zip
Remove unnecessary ASTContext parameter from
CXXRecordDecl::getDestructor(); no functionality change. llvm-svn: 107394
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r--clang/lib/CodeGen/CGDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index 7498a070734..5c3055f5b61 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -678,7 +678,7 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const VarDecl &D) {
Loc = Builder.CreateStructGEP(DeclPtr, getByRefValueLLVMField(&D),
D.getNameAsString());
- const CXXDestructorDecl *D = ClassDecl->getDestructor(getContext());
+ const CXXDestructorDecl *D = ClassDecl->getDestructor();
assert(D && "EmitLocalBlockVarDecl - destructor is nul");
if (const ConstantArrayType *Array =
OpenPOWER on IntegriCloud