diff options
author | Younan Zhang <zyn7109@gmail.com> | 2025-01-22 16:08:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-22 16:08:19 +0800 |
commit | 69d0c4c1675c90cf99126210679a9c3ae0a8637e (patch) | |
tree | 3d2d4d7376d9231cc20ae481e7001c192c379e77 /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | ca65055e792a497551d580c8adf30c28090e45cd (diff) | |
download | llvm-69d0c4c1675c90cf99126210679a9c3ae0a8637e.zip llvm-69d0c4c1675c90cf99126210679a9c3ae0a8637e.tar.gz llvm-69d0c4c1675c90cf99126210679a9c3ae0a8637e.tar.bz2 |
[Clang] SubstituteConstraintExpressionWithoutSatisfaction needs an unevaluated context (#123883)
It turns out that the substitution for expression comparing also needs
an unevaluated context, otherwise any reference to immediate functions
might not be properly handled.
As a fallout, this also guards the VLA transformation under unevaluated
context
with `InConditionallyConstantEvaluateContext` to avoid duplicate
diagnostics.
Fixes https://github.com/llvm/llvm-project/issues/123472
---------
Co-authored-by: cor3ntin <corentinjabot@gmail.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions