Refactor the code that produces a TemplateSpecializationType, so that
authorDouglas Gregor <dgregor@apple.com>
Tue, 28 Jul 2009 23:00:59 +0000 (23:00 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 28 Jul 2009 23:00:59 +0000 (23:00 +0000)
commita8e02e7863f379808e9c4f3f21031761ac29e40d
tree2a79a7641505d542165397abba52504d917d944b
parent14abb832b277b845625d1960ca3129bf7faaa52f
Refactor the code that produces a TemplateSpecializationType, so that
canonicalization for dependent TemplateSpecializationTypes occurs
within ASTContext::getTemplateSpecializationType. Also, move template
argument canonicalization into ASTContext::getCanonicalTemplateArgument.

llvm-svn: 77388
clang/include/clang/AST/ASTContext.h
clang/lib/AST/ASTContext.cpp
clang/lib/AST/DeclTemplate.cpp
clang/lib/Sema/SemaTemplate.cpp