Teach Type::getAs<TemplateSpecializationType> that a TemplateSpecializationType
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 26 Sep 2012 02:18:13 +0000 (02:18 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 26 Sep 2012 02:18:13 +0000 (02:18 +0000)
commit6e0605d6540da56bf778a4fb2598764cf004723a
tree8fa0bd3203f16731717030bfb18452c52b46c920
parenta398d4cfafc66289e54398175137df2317e290d3
Teach Type::getAs<TemplateSpecializationType> that a TemplateSpecializationType
for a type alias template can appear as sugar at any level of desugaring, just
like a TypedefType.

llvm-svn: 164655
clang/include/clang/AST/Type.h
clang/lib/AST/Type.cpp
clang/test/CXX/temp/temp.param/p15-cxx0x.cpp
clang/test/Misc/diag-template-diffing.cpp