summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclTemplate.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-18 00:34:25 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-18 00:34:25 +0000
commit6b7e37616077495adc4f0fedccb7458b51817d66 (patch)
treec1a2f3002c0a3b51fc9af6ca4a4cf1a545949dd3 /clang/lib/AST/DeclTemplate.cpp
parent5614aef776d36e2eac36b8fef9c0ab356bb901d2 (diff)
downloadbcm5719-llvm-6b7e37616077495adc4f0fedccb7458b51817d66.tar.gz
bcm5719-llvm-6b7e37616077495adc4f0fedccb7458b51817d66.zip
Remove ASTContext::getCanonicalDecl() and use Decl::getCanonicalDecl in its place.
llvm-svn: 76274
Diffstat (limited to 'clang/lib/AST/DeclTemplate.cpp')
-rw-r--r--clang/lib/AST/DeclTemplate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclTemplate.cpp b/clang/lib/AST/DeclTemplate.cpp
index e096e41aed2..ce382dbdad6 100644
--- a/clang/lib/AST/DeclTemplate.cpp
+++ b/clang/lib/AST/DeclTemplate.cpp
@@ -200,7 +200,7 @@ QualType ClassTemplateDecl::getInjectedClassNameType(ASTContext &Context) {
TemplateTemplateParmDecl *TTP = cast<TemplateTemplateParmDecl>(*Param);
TemplateArgs.push_back(TemplateArgument(TTP->getLocation(), TTP));
CanonTemplateArgs.push_back(TemplateArgument(TTP->getLocation(),
- Context.getCanonicalDecl(TTP)));
+ TTP->getCanonicalDecl()));
}
}
OpenPOWER on IntegriCloud