aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-10-20 17:35:15 -0700
committerRichard Smith <richard@metafoo.co.uk>2020-10-20 17:37:07 -0700
commit15e772e8dc39f609115430f39078fbe58812fddb (patch)
tree6b30e9c87a72bd7836b5e13a2b92a8a1ba334ff2 /llvm/lib/CodeGen/StackMaps.cpp
parentebdcef20ce2921d1b6e8463ecf4031396cef79dc (diff)
downloadllvm-15e772e8dc39f609115430f39078fbe58812fddb.zip
llvm-15e772e8dc39f609115430f39078fbe58812fddb.tar.gz
llvm-15e772e8dc39f609115430f39078fbe58812fddb.tar.bz2
Don't instantiate lambda closure types in default member initializers
when instantiating the enclosing class. We'll build new lambda closure types if and when we instantiate the default member initializer, and instantiating the closure type by itself can go wrong in cases where we fully-instantiate nested classes (in explicit instantiations of the enclosing class and when the enclosing class is a local class) -- we will instantiate the 'operator()' as a regular function rather than as a lambda call operator, so it doesn't get to use its captures, has the wrong 'this' type, etc.
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions