]> granicus.if.org Git - clang/commit
PR25271: When attaching default template arguments to redeclarations of a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 4 Feb 2016 22:54:41 +0000 (22:54 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 4 Feb 2016 22:54:41 +0000 (22:54 +0000)
commitaaf9f44a0d006d13bcbc91dd9718d269cfa3682c
treeef820a22bcf6bf22b3c7ea54098307dd96f0f579
parent18254ec0e61162bc66a2058ae14b52e8a7f26a17
PR25271: When attaching default template arguments to redeclarations of a
template, keep looking for default arguments if we see a template parameter
pack. There may be default arguments preceding a pack with no default argument.

Patch by Jannis Harder!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259836 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReaderDecl.cpp
test/PCH/cxx-variadic-templates-with-default-params.cpp [new file with mode: 0644]