summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclTemplate.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-26 22:19:44 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-26 22:19:44 +0000
commitd56a91e8f6a63b1c7c69b604f5defb0a94a5c388 (patch)
tree096c9ef8c7ea9f745810227a80ac1c1e4ec76541 /clang/lib/AST/DeclTemplate.cpp
parente9817aaa0595eae687c06e3c9d9ecfe00a47aa0d (diff)
downloadbcm5719-llvm-d56a91e8f6a63b1c7c69b604f5defb0a94a5c388.tar.gz
bcm5719-llvm-d56a91e8f6a63b1c7c69b604f5defb0a94a5c388.zip
Make the type associated with a ClassTemplateSpecializationDecl be a
nicely sugared type that shows how the user wrote the actual specialization. This sugared type won't actually show up until we start doing instantiations. llvm-svn: 65577
Diffstat (limited to 'clang/lib/AST/DeclTemplate.cpp')
-rw-r--r--clang/lib/AST/DeclTemplate.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclTemplate.cpp b/clang/lib/AST/DeclTemplate.cpp
index 3ed4435bb37..ed4fd44e707 100644
--- a/clang/lib/AST/DeclTemplate.cpp
+++ b/clang/lib/AST/DeclTemplate.cpp
@@ -179,7 +179,6 @@ ClassTemplateSpecializationDecl::Create(ASTContext &Context,
ClassTemplateSpecializationDecl *Result
= new (Mem) ClassTemplateSpecializationDecl(DC, L, SpecializedTemplate,
TemplateArgs, NumTemplateArgs);
- // FIXME: Do we want a prettier type here?
Context.getTypeDeclType(Result, PrevDecl);
return Result;
}
OpenPOWER on IntegriCloud