[all-commits] [llvm/llvm-project] a9797d: [C2x] Implement the `unreachable` macro for WG14 N...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Wed Feb 15 11:43:17 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a9797d7d2d7878464868312e0c147b4e747a31c6
https://github.com/llvm/llvm-project/commit/a9797d7d2d7878464868312e0c147b4e747a31c6
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2023-02-15 (Wed, 15 Feb 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Headers/stddef.h
A clang/test/C/C2x/n2826.c
M clang/www/c_status.html
Log Message:
-----------
[C2x] Implement the `unreachable` macro for WG14 N2826
This exposes __builtin_unreachable as the expansion for the unreachable
macro in C2x. I added this definition under __need_STDDEF_H_misc on the
assumption there is no need for a separate need macro to control adding
this.
Differential Revision: https://reviews.llvm.org/D143430
More information about the All-commits
mailing list