aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorcor3ntin <corentinjabot@gmail.com>2025-01-27 21:30:29 +0100
committerGitHub <noreply@github.com>2025-01-27 21:30:29 +0100
commita85b2dc45a5f1312d6ee5e2522c24e81a086bf60 (patch)
tree63c6d02d1125cd4293f536be42172c792282436d /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parentc4c76eabb88f8ee5b92fa9a84452875b0cb67d0d (diff)
downloadllvm-a85b2dc45a5f1312d6ee5e2522c24e81a086bf60.zip
llvm-a85b2dc45a5f1312d6ee5e2522c24e81a086bf60.tar.gz
llvm-a85b2dc45a5f1312d6ee5e2522c24e81a086bf60.tar.bz2
[Clang] only inherit the parent eval context inside of lambdas (#124426)
As we create defaul constructors lazily, we should not inherit from the parent evaluation context. However, we need to make an exception for lambdas (in particular their conversion operators, which are also implicitly defined). As a drive-by, we introduce a generic way to query whether a function is a member of a lambda. This fixes a regression introduced by baf6bd3. Fixes #118000
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions