]> granicus.if.org Git - clang/commit
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)
commit073819806ba2441e2a3e550107f1e756a6ee3ad0
tree69cd14a4a6a6d78bdc170f2e1f22dacf5b429464
parenta74b9cd8a6f6d6179713e2eed2d3d9ef8f5f72d1
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164655 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
lib/AST/Type.cpp
test/CXX/temp/temp.param/p15-cxx0x.cpp
test/Misc/diag-template-diffing.cpp