summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-07-18 01:29:05 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-07-18 01:29:05 +0000
commit198223b7e62ad9d6d61308d2be9367a563449ebe (patch)
treee511922d9beb283e67eb98c2c1c433f904a146f1 /clang/lib/Serialization/ModuleManager.cpp
parentea90a4033972b106f9538a300c5b50d62eac4356 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud