diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2022-02-14 09:33:48 -0500 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2022-02-14 09:38:26 -0500 |
| commit | 5029dce492b3cf3ac191eda0b5bf268c3acac2e0 (patch) | |
| tree | d00225b693ab33a19cdb0dd1db2c9d43d8eaf5fe /lldb/test/API/python_api/debugger/TestDebuggerAPI.py | |
| parent | 6398903ac8c141820a84f3063b7956abe1742500 (diff) | |
Implement WG14 N2764 the [[noreturn]] attribute
This adds support for http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2764.pdf,
which was adopted at the Feb 2022 WG14 meeting. That paper adds
[[noreturn]] and [[_Noreturn]] to the list of supported attributes in
C2x. These attributes have the same semantics as the [[noreturn]]
attribute in C++.
The [[_Noreturn]] attribute was added as a deprecated feature so that
translation units which include <stdnoreturn.h> do not get an error on
use of [[noreturn]] because the macro expands to _Noreturn. Users can
use -Wno-deprecated-attributes to silence the diagnostic.
Use of <stdnotreturn.h> or the noreturn macro were both deprecated.
Users can define the _CLANG_DISABLE_CRT_DEPRECATION_WARNINGS macro to
suppress the deprecation diagnostics coming from the header file.
Diffstat (limited to 'lldb/test/API/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions
