HomeFreeBSD

devel/cdecl: Update to 13.0

Description

devel/cdecl: Update to 13.0

ChangeLog:
Better copy constructor support
Declarations like:

c++decl> explain C(C const&)
declare C as constructor (reference to constant C)
are now supported better.

C23 alignas
In C23, alignas is now used instead of _Alignas.

C23 _BitInt(N)
The _BitInt(N) type in C23 in now supported.

C23 bool
In C23, bool is now used instead of _Bool.

C23 constexpr
The constexpr storage class in C23 is now supported.

C23 fixed type enum
Fixed-type enumerations in C23 are now supported.

Digit separators
Digit separators are now supported.

C23 reproducible & unsequenced
These C23 attributes are now supported.

C23 thread_local
In C23, thread_local is now used instead of _Thread_local.

C23 true, false, nullptr, static_assert, & thread_local
These are now also keywords in C23.

C23 typeof & typeof_unqual
These C23 keywords are now recognized, but not supported by cdecl.

More C++23 standard types
Added the standard C++23 types std::bfloat16_t, std::float128_t,
std::float16_t, std::float32_t, std::float64_t, std::ospanstream,
std::spanbuf, std::spanstream, std::stacktrace, std::unexpect_t,
std::wospanstream, std::wspanbuf, and std::wspanstream.

Enumeration bit-fields
Enumerations in C++ can now be bit fields.

C++23 explicit object parameters
Explicit object parameters in C++23 are preliminarily supported.

C++ static operator()
Now allow operator() to be static in C++23.

Added std::bernoulli_distribution and std::random_device
Added these missing C++11 types.

static or const array parameters
Both static or const array declarations are now additionally recognized
outside of function parameters allowing more specific error reporting
(since they're still illegal).

C++11 explicit user-defined conversion operators
Explicit user-defined conversion operators are now correctly allowed in
C++11 and later.

Echoing commands
A new --echo-commands/-O command-line option and echo-commands set
option has been added that echos command given before corresponding
output. (This is primarily useful for associating command output with
input in test scripts.)

Better alignment error location
Improved the location of alignment errors.

Fixed aligned bit fields
Aligned bit fields are now correctly forbidden.

Fixed noprompt error column
Fixed the error column when the prompt is disabled.

Details

Provenance
lerAuthored on Nov 1 2022, 2:16 PM
Parents
R11:7c954b9de271: net/asio: Update to 1.24.0
Branches
Unknown
Tags
Unknown