diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-07-19 19:00:37 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-07-19 19:00:37 +0000 |
| commit | 4a8f3518cb1444f7041ecb36fceb49d59f08b4b1 (patch) | |
| tree | 993ad7351ac668d1ff6fdefcfd17c49bdfc5d408 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | f29044536d7a77cac152948a066c44e7cb010627 (diff) | |
| download | llvm-4a8f3518cb1444f7041ecb36fceb49d59f08b4b1.zip llvm-4a8f3518cb1444f7041ecb36fceb49d59f08b4b1.tar.gz llvm-4a8f3518cb1444f7041ecb36fceb49d59f08b4b1.tar.bz2 | |
Fix template argument deduction when a parameter pack has a value
provided by an outer template.
We made the incorrect assumption in various places that the only way we
can have any arguments already provided for a pack during template
argument deduction was from a partially-specified pack. That's not true;
we can also have arguments from an enclosing already-instantiated
template, and that can even result in the function template's own pack
parameters having a fixed length and not being packs for the purposes of
template argument deduction.
llvm-svn: 337481
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
