[all-commits] [llvm/llvm-project] 642117: [Clang] Implement P2809: Trivial infinite loops ar...
cor3ntin via All-commits
all-commits at lists.llvm.org
Fri May 3 05:11:16 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 642117105d4f7944b7944f9b2a6ba9993fb68ed9
https://github.com/llvm/llvm-project/commit/642117105d4f7944b7944f9b2a6ba9993fb68ed9
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/test/CodeGen/attr-mustprogress.c
M clang/test/CodeGenCXX/attr-mustprogress.cpp
M clang/www/cxx_status.html
Log Message:
-----------
[Clang] Implement P2809: Trivial infinite loops are not Undefined Behavior (#90066)
https://wg21.link/P2809R3
This is applied as a DR to C++11 (C++98 did not guarantee forward
progress and is left untouched)
As an extension (and to preserve existing behavior in C), we consider
all controlling expression that can be constant folded
in the front end, not just standard constant expressions.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list