aboutsummaryrefslogtreecommitdiff
path: root/clang/docs
diff options
context:
space:
mode:
authorOliver Hunt <oliver@apple.com>2025-08-07 15:29:51 -0700
committerOliver Hunt <oliver@apple.com>2025-08-07 15:31:35 -0700
commit467f72d8e2e7f3abbd6824433172fddcd24a771e (patch)
tree6b2c111b3ce0657a77f1ef88747052e817fd56f5 /clang/docs
parent82046c7f339a74a198ec7b17612243663732c7f7 (diff)
downloadllvm-users/ojhunt/while-loop-scope.zip
llvm-users/ojhunt/while-loop-scope.tar.gz
llvm-users/ojhunt/while-loop-scope.tar.bz2
[clang][Sema] Fix the continue and break scope for while loopsusers/ojhunt/while-loop-scope
Make sure we don't push the break and continue scope for a while loop until after we have evaluated the condition.
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/ReleaseNotes.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 0e9fcaa..4062c4b 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -161,6 +161,8 @@ Bug Fixes in This Version
targets that treat ``_Float16``/``__fp16`` as native scalar types. Previously
the warning was silently lost because the operands differed only by an implicit
cast chain. (#GH149967).
+- Correct the continue and break scope for while statements to be after the
+ condition is evaluated.
Bug Fixes to Compiler Builtins
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^