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 | 500d729e85028944355a119f9823ac99fa5ddcab (patch) | |
tree | 4c61dbac98164c678af990611d511df3c6915afc /lib/StaticAnalyzer/Core/RegionStore.cpp | |
parent | 5912597f3a01f6b5a6f6c5543317d209dbbb0a87 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160416 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/RegionStore.cpp')
0 files changed, 0 insertions, 0 deletions