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)
commit3d98703523dfdce04839a2f7927eabaf8220887b
tree162227206c814e52af5351bf99ecdad9cfaaa18e
parent220b4fe4a93d9a3a0ea3fe0a716a037fcae1e7c3
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!

llvm-svn: 259836
clang/lib/Serialization/ASTReaderDecl.cpp
clang/test/PCH/cxx-variadic-templates-with-default-params.cpp [new file with mode: 0644]