diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-06-03 09:56:09 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-06-03 09:56:09 +0000 |
| commit | c716e5d6dea2dec44e2f54da5a7ec41b1237011b (patch) | |
| tree | 52829a4c74b665e81318cc52ab7ea09cfb626b53 /llvm/lib/Transforms/Utils/Local.cpp | |
| parent | 1115a199aaec146972419749db7b10cfe832801a (diff) | |
| download | bcm5719-llvm-c716e5d6dea2dec44e2f54da5a7ec41b1237011b.tar.gz bcm5719-llvm-c716e5d6dea2dec44e2f54da5a7ec41b1237011b.zip | |
Revert rL362358 : PR42104: Support instantiations of lambdas that implicitly capture packs.
Two changes:
* Track odr-use via FunctionParmPackExprs to properly handle dependent
odr-uses of packs in generic lambdas.
* Do not instantiate implicit captures; instead, regenerate them by
instantiating the body of the lambda. This is necessary to
distinguish between cases where only one element of a pack is
captured and cases where the entire pack is captured.
........
Fixes http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win buildbot failures
llvm-svn: 362375
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions

