]> granicus.if.org Git - clang/commit
Make it easier to read/write the template part of FunctionDecl.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 22 Jun 2010 09:54:51 +0000 (09:54 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 22 Jun 2010 09:54:51 +0000 (09:54 +0000)
commitd0913557c800c8a712fb554032a833619f23bc56
treef362f6c572d3716f528310b9e4af1f065e0bd55e
parente1403d2dcb06fc306e186c787a7bd0ca30e06ede
Make it easier to read/write the template part of FunctionDecl.

Introduce:
-FunctionDecl::getTemplatedKind() which returns an enum signifying what kind of templated
  FunctionDecl it is.
-An overload of FunctionDecl::setFunctionTemplateSpecialization() which accepts arrays of
  TemplateArguments and TemplateArgumentLocs
-A constructor to TemplateArgumentList which accepts an array of TemplateArguments.

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