diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-02-11 01:19:42 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-02-11 01:19:42 +0000 |
commit | 838db383b69b9fb55f55c8e9546477df198a4faa (patch) | |
tree | 1ea0c2ba1825b7d5b194be095db1d8d793681263 /lib/Sema/SemaExprCXX.cpp | |
parent | e9ff443040cb571ae2c5c2626c4dc9a9a812d84a (diff) |
Eliminate a bunch of unnecessary ASTContexts from members functions of
Decl subclasses. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExprCXX.cpp')
-rw-r--r-- | lib/Sema/SemaExprCXX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaExprCXX.cpp b/lib/Sema/SemaExprCXX.cpp index e27308a2b4..877ac2a549 100644 --- a/lib/Sema/SemaExprCXX.cpp +++ b/lib/Sema/SemaExprCXX.cpp @@ -811,7 +811,7 @@ void Sema::DeclareGlobalAllocationFunction(DeclarationName Name, ParmVarDecl *Param = ParmVarDecl::Create(Context, Alloc, SourceLocation(), 0, Argument, /*TInfo=*/0, VarDecl::None, 0); - Alloc->setParams(Context, &Param, 1); + Alloc->setParams(&Param, 1); // FIXME: Also add this declaration to the IdentifierResolver, but // make sure it is at the end of the chain to coincide with the |