]> granicus.if.org Git - clang/commit
Add Decl::isParameterPack(), which covers both function and template
authorDouglas Gregor <dgregor@apple.com>
Wed, 5 Jan 2011 21:11:38 +0000 (21:11 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 5 Jan 2011 21:11:38 +0000 (21:11 +0000)
commit1fe85ea697fb5c85acded3ac0ddbc19f89c2e181
tree5f8a42d98e3f99c1ed0020cce5b8020fe574b788
parent135ffa7375fb5802b92f42774e02d0e6e4c78e5b
Add Decl::isParameterPack(), which covers both function and template
parameter packs, along with ParmVarDecl::isParameterPack(), which
looks for function parameter packs. Use these routines to fix some
obvious FIXMEs.

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