diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-07-18 01:29:05 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-07-18 01:29:05 +0000 |
| commit | 198223b7e62ad9d6d61308d2be9367a563449ebe (patch) | |
| tree | e511922d9beb283e67eb98c2c1c433f904a146f1 /clang/lib/Serialization/ModuleManager.cpp | |
| parent | ea90a4033972b106f9538a300c5b50d62eac4356 (diff) | |
| download | bcm5719-llvm-198223b7e62ad9d6d61308d2be9367a563449ebe.tar.gz bcm5719-llvm-198223b7e62ad9d6d61308d2be9367a563449ebe.zip | |
PR13386: When matching up parameters between a function template declaration
and a function template instantiation, if there's a parameter pack in the
declaration and one at the same place in the instantiation, don't assume that
the pack wasn't expanded -- it may have expanded to nothing. Instead, go ahead
and check whether the parameter pack was expandable. We can do this as a
side-effect of the work we'd need to do anyway, to find how many parameters
were produced.
llvm-svn: 160416
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions

