]> granicus.if.org Git - clang/commit
Declarators can now properly represent template-ids, e.g., for
authorDouglas Gregor <dgregor@apple.com>
Fri, 25 Sep 2009 21:45:23 +0000 (21:45 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 25 Sep 2009 21:45:23 +0000 (21:45 +0000)
commitdb422dffb720ff41d0b60e228f45c685600ffa9e
tree347abefb53d70d332ac3bdf0fe1097a4c69137a0
parent699a07d8a0b1579c5178b3baf4bcf9edb6b38108
Declarators can now properly represent template-ids, e.g., for

  template void f<int>(int);
                ~~~~~~
Previously, we silently dropped the template arguments. With this
change, we now use the template arguments (when available) as the
explicitly-specified template arguments used to aid template argument
deduction for explicit template instantiations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82806 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/DeclSpec.h
lib/Parse/ParseDecl.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaType.cpp
test/SemaTemplate/explicit-instantiation.cpp