freebsd-ports/devel/cdecl
Larry Rosenman 2f70772413
devel/cdecl: update to 11.13
ChangeLog:
Aligned enum, struct, and union in C
Alignment of enum, struct, and union is now correctly forbidden in C.

alignas & _Alignas
These keywords are now additionally allowed instead of aligned [as|to]
in pseudo-English.

Auto-completion of cdecl keywords
Cdecl keywords are now not auto-completable when explaining gibberish.

Auto-completion tweaks
new is now auto-completable; variadic is now autocompletable only in C89
and later. The following are now not autocompletable: co_await,
co_return, co_yield, concept, decltype, and requires.

restrict of typedef
restrict is now correctly allowed on typedefs of pointer:

cdecl> typdef int *pint
cdecl> explain restrict pint p
declare p as restricted pint
return English shorthand
return is now accepted as a shorthand for returning in pseudo-English.

English new-style cast synonyms
The C++ keywords const_cast, dynamic_cast, reinterpret_cast, and
static_cast are now synonyms for their respective two-word counterparts
in pseudo-English.

Fixed core dump for --debug/-d for operator
Fixed a core dump when using the --debug/-d option for an operator.

Fixed function returning function parameter crash
A crash for:

explain void f( int()() )
(which is illegal) has been fixed.
2022-02-27 15:03:27 -06:00
..
distinfo devel/cdecl: update to 11.13 2022-02-27 15:03:27 -06:00
Makefile devel/cdecl: update to 11.13 2022-02-27 15:03:27 -06:00
pkg-descr