summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExprCXX.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-10-29 08:12:44 +0000
committerJohn McCall <rjmccall@apple.com>2009-10-29 08:12:44 +0000
commit0ad166672f581c4a8ed5f4c0329c856820e10bd4 (patch)
tree0f937f8222c080e903277cb84f9888d218237b4a /clang/lib/Sema/SemaExprCXX.cpp
parent588d2d585d1bafe4cffe9ce2b8d41965c42001c3 (diff)
downloadbcm5719-llvm-0ad166672f581c4a8ed5f4c0329c856820e10bd4.tar.gz
bcm5719-llvm-0ad166672f581c4a8ed5f4c0329c856820e10bd4.zip
Track source information for template arguments and template specialization
types. Preserve it through template instantiation. Preserve it through PCH, although TSTs themselves aren't serializable, so that's pretty much meaningless. llvm-svn: 85500
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 d5f93dce280..32eeddb0fe7 100644
--- a/clang/lib/Sema/SemaExprCXX.cpp
+++ b/clang/lib/Sema/SemaExprCXX.cpp
@@ -2191,7 +2191,7 @@ Sema::ActOnDestructorReferenceExpr(Scope *S, ExprArg Base,
TypeTy *T,
const CXXScopeSpec &SS,
bool HasTrailingLParen) {
- QualType Type = QualType::getFromOpaquePtr(T);
+ QualType Type = GetTypeFromParser(T);
CanQualType CanType = Context.getCanonicalType(Type);
DeclarationName DtorName =
Context.DeclarationNames.getCXXDestructorName(CanType);
OpenPOWER on IntegriCloud