]> granicus.if.org Git - clang/commit
Improve the representation of template type parameters. We now
authorDouglas Gregor <dgregor@apple.com>
Thu, 5 Feb 2009 23:33:38 +0000 (23:33 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 5 Feb 2009 23:33:38 +0000 (23:33 +0000)
commitfab9d67cebb87be968e7ae31a3b549a5279b5d51
treee6e71ce878f610e0f9539097db19e55df64e566e
parent4a3aed942bd6e4e73679b1676bc1ac82248b592d
Improve the representation of template type parameters. We now
canonicalize by template parameter depth, index, and name, and the
unnamed version of a template parameter serves as the canonical.

TemplateTypeParmDecl no longer needs to inherit from
TemplateParmPosition, since depth and index information is present
within the type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63899 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
include/clang/AST/Decl.h
include/clang/AST/DeclTemplate.h
include/clang/AST/Type.h
lib/AST/ASTContext.cpp
lib/AST/DeclSerialization.cpp
lib/AST/DeclTemplate.cpp
lib/AST/Type.cpp
lib/AST/TypeSerialization.cpp