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/Frontend/RewriteObjC.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/Frontend/RewriteObjC.cpp')
-rw-r--r-- | lib/Frontend/RewriteObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/RewriteObjC.cpp b/lib/Frontend/RewriteObjC.cpp index 50a281fbcc..dde4b0fcfa 100644 --- a/lib/Frontend/RewriteObjC.cpp +++ b/lib/Frontend/RewriteObjC.cpp @@ -2460,7 +2460,7 @@ QualType RewriteObjC::getSuperStructType() { /*Mutable=*/false)); } - SuperStructDecl->completeDefinition(*Context); + SuperStructDecl->completeDefinition(); } return Context->getTagDeclType(SuperStructDecl); } @@ -2491,7 +2491,7 @@ QualType RewriteObjC::getConstantStringStructType() { /*Mutable=*/true)); } - ConstantStringDecl->completeDefinition(*Context); + ConstantStringDecl->completeDefinition(); } return Context->getTagDeclType(ConstantStringDecl); } |