summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExprCXX.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-01-12 23:27:07 +0000
committerDouglas Gregor <dgregor@apple.com>2009-01-12 23:27:07 +0000
commitb3730b50c70c4b5cdb4b28fee7c98fee491f3a0d (patch)
treefe53da393def7218c3f39e389e81d1bf78009f69 /clang/lib/Sema/SemaExprCXX.cpp
parentae5e28578c245b410665278ec3c5ee15e1f1eec9 (diff)
downloadbcm5719-llvm-b3730b50c70c4b5cdb4b28fee7c98fee491f3a0d.tar.gz
bcm5719-llvm-b3730b50c70c4b5cdb4b28fee7c98fee491f3a0d.zip
Cleanup DeclContext::addDecl and DeclContext::insert interface, from Piotr Rak
llvm-svn: 62122
Diffstat (limited to 'clang/lib/Sema/SemaExprCXX.cpp')
-rw-r--r--clang/lib/Sema/SemaExprCXX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp
index 111dca4ae02..99e00a7a82a 100644
--- a/clang/lib/Sema/SemaExprCXX.cpp
+++ b/clang/lib/Sema/SemaExprCXX.cpp
@@ -540,7 +540,7 @@ void Sema::DeclareGlobalAllocationFunction(DeclarationName Name,
// FIXME: Also add this declaration to the IdentifierResolver, but
// make sure it is at the end of the chain to coincide with the
// global scope.
- ((DeclContext *)TUScope->getEntity())->addDecl(Context, Alloc);
+ ((DeclContext *)TUScope->getEntity())->addDecl(Alloc);
}
/// ActOnCXXDelete - Parsed a C++ 'delete' expression (C++ 5.3.5), as in:
OpenPOWER on IntegriCloud