summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2021-05-19 16:01:45 -0700
committerRichard Smith <richard@metafoo.co.uk>2021-05-19 16:02:53 -0700
commit2f8ac0758bbfad72e52ef8602fbbd796e1347784 (patch)
tree6bfa909064429e74c41a8efe59ec2d3f4d0802b2 /clang/lib/CodeGen/CodeGenModule.cpp
parentf2c97605a00d45a4bf54eb4bdaaca74ed7ab78df (diff)
PR50402: Use proper constant evaluation rules for checking constraint
satisfaction. Previously we used the rules for constant folding in a non-constant context, meaning that we'd incorrectly accept foldable non-constant expressions and that std::is_constant_evaluated() would evaluate to false.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions