Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: cdecl | Distribution: openSUSE Tumbleweed |
Version: 18.4 | Vendor: openSUSE |
Release: 1.1 | Build date: Tue Sep 3 19:39:26 2024 |
Group: Development/Languages/C and C++ | Build host: reproducible |
Size: 636847 | Source RPM: cdecl-18.4-1.1.src.rpm |
Packager: http://bugs.opensuse.org | |
Url: https://github.com/paul-j-lucas/cdecl/ | |
Summary: C/C++ function declaration translator |
Cdecl is a program which will turn English-like phrases such as "declare foo as array 5 of pointer to function returning int" into C declarations such as "int (*foo[5])()" and vice-versa. It handles typecasts and C++ as well, and offers command line editing and history.
GPL-3.0-or-later
* Tue Sep 03 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 18.4 * Initial support for C++26 has been added, specifically = delete("reason") is now supported. * Support placemarkers for empty macro argument. * Thu Aug 15 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 18.3 * Autocompletion for `set no-<TAB>` * Enhancements for preprocessor __VA macros * Wed Jul 31 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 18.2 * Unknown names are now always permitted as types in pseudo-English. Hence, the --permissive-types option now only additionally allows keywords in language versions other than the current language as types. * Sat Jul 20 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 18.1 * Alignments can now have names to denote the number of bytes. * In C89, implicit int is now warned about in more cases. * To match gibberish output, K&R C typeless parameters now print ``as integer`` in pseudo-English. * Sat Jul 06 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 18 * Allowing blocks & user-defined literals in multi-declarations * cast & declare command executable name support * New --lineno, -L option * Tue Jun 18 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 17.0.1 * Functions returning parameter packs is now correctly illegal. * Thu Jun 13 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 17.0 * Support abbreviated function template parameter packs * Added ``help`` option suggestions * Support ``auto`` parameters in typedefs * Recognize structured binding declarations * Tue May 28 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 16.4.1 * Echoing commands short option * Improved error messages for predefined types * Tue Apr 16 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 16.3 * Better destructor parameter error message * Support for defining a type more than once * Support for multiple conflicting declarations * Tue Jan 30 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 16.2 * Partial typeof support * Sun Jan 14 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 16.1 * The value of the explicit-ecsu option now also applies in pseudo-English. * Fri Jan 05 2024 Jan Engelhardt <jengelh@inai.de> - Update to release 16 * Cdecl now allows you to #define macros and expand them step-by-step. * Improved C99 with extension error messages. * Implicit int pointer declarations, e.g. ``*p``, are now correctly illegal in C++. * The former ``--explain`` and ``-e`` options have been renamed ``--infer-command`` and ``-I``; the former explain-by-default set option has been renamed infer-command. * Tue Oct 03 2023 Jan Engelhardt <jengelh@inai.de> - Update to release 15 * Coalesced output for "explain" command * Thu Sep 07 2023 Jan Engelhardt <jengelh@inai.de> - Update to release 14.4 * _Alignas is now correctly forbidden on forward declarations. * Now correctly forbidden in C: ``auto`` with multiple declarators, ``auto`` with a pointer declarator, and bit-fields of a typedef for an enum. * Support C99's ability to qualify function parameters using array syntax. * cdecl now flags member functions with user-specified linkage as an error. * Tue Aug 08 2023 Jan Engelhardt <jengelh@inai.de> - Update to release 14.3 * Arrays with named sizes, e.g. ``explain void f(int n, int a[n])`` * Ding (\a) on no command match during TAB completion * Sun Apr 30 2023 Jan Engelhardt <jengelh@inai.de> - Update to release 14.2 * Autocompletion of '=' * The -I option (--explicit-int) has been changed to -i. * The -R option (--trailing-return) has been changed to -r. * New --west-pointer and -w command-line options and a new west-pointer set option * Sat Apr 15 2023 Jan Engelhardt <jengelh@inai.de> - Update to release 14.1.1 * Escaping quotes in dump strings * Quoting lambda capture dump strings * Fixed operator dump crash * Tue Apr 04 2023 Jan Engelhardt <jengelh@inai.de> - Update to release 14.1 * Blocks, lambda captures, and reference functions now correctly print alternative tokens when the option "alternative tokens"is enabled. * Now allowing C-style casting without a name: ``cast to pointer to char`` produces ``(char*)`` * Thu Feb 23 2023 Jan Engelhardt <jengelh@inai.de> - Update to release 14.0 * Casting to arrays did not fully work, was repaired * Support for C++ lambdas * Sun Jan 29 2023 Jan Engelhardt <jengelh@inai.de> - Update to release 13.2 * No longer require certain declarations to be function parameters: const, volatile, static, and variable length arrays * The set of word-break characters for autocompletion has been expanded to be (almost) all non-identifier characters. * Bit-fields having [[no_unique_address]] are now correctly reported as an error. * Sun Jan 08 2023 Jan Engelhardt <jengelh@inai.de> - Update to release 13.1 * Added support for `auto` as a deduced type in C23. * C23 (anti-)trigraphs * friend scoped user-defined conversion operators are now parsed correctly. * Tue Nov 01 2022 Jan Engelhardt <jengelh@inai.de> - Update to release 13 * Better copy constructor support * A lot of C23 keywords are now recognized * More C++23 keywords are now recognized * Enumerations in C++ can now be bit fields. * C++11 explicit user-defined conversion operators - Delete 0001-build-resolve-compile-failure-due-to-improper-attrib.patch * Tue Nov 01 2022 Jan Engelhardt <jengelh@inai.de> - Update to release 12 * Added suggestions to error messages in certain cases when a keyword is expected, for example: * The placeholder name of C2X has been changed to C23. * The TERM environment variable is no longer considered when determining whether color should be used in output. Now, all that matters is whether the output stream is connected to a TTY. * Previously declared types in pseudo-Engilsh are now checked to ensure they're not being used as objects. - Add 0001-build-resolve-compile-failure-due-to-improper-attrib.patch - Delete unbreak-gnulib.diff * Fri May 13 2022 Jan Engelhardt <jengelh@inai.de> - Update to release 11.15 * _Atomic arrays are now correctly forbidden. * New "CDECLRC" environment variable. * Alignment of enums is now correctly allowed in C11 mode. * Thu Mar 10 2022 Jan Engelhardt <jengelh@inai.de> - Update to release 11.14 * Now prints a warning that neither alternative tokens nor digraphs are supported until C95. * Now prints a warning that east-const isn't supported until C89. * Now prints a warning that using isn't supported until C++11. * Sat Feb 26 2022 Jan Engelhardt <jengelh@inai.de> - Update to release 11.13 * 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. * "restrict" is now correctly allowed on typedefs of pointer. * Sun Feb 13 2022 Jan Engelhardt <jengelh@inai.de> - Update to release 11.12 * noexcept for function parameters * Ignore leading whitespace for command completion * Sun Jan 23 2022 Jan Engelhardt <jengelh@inai.de> - Update to release 11.11 * Support the use of attributes in conjunction with `using T = ...` declarations. * Types will now be presented as `using T = ...` for C++11 and onwards. * Mon Jan 03 2022 Jan Engelhardt <jengelh@inai.de> - Update to release 11.10 * const (and volatile) qualifiers for void as a function "parameter" (even via a typedef) are now correctly flagged as an error. * A restricted pointer to a non-object, e.g., function, is now correctly flagged as an error. * Thu Dec 23 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 11.9 * Fixed reading from stdin when it's not a TTY. * Function-like parameters are now checked for redefinition (more than one parameter having the same name). * Added the standard C++ types std::ispanstream, std::stacktrace_entry, and std::wispanstream. * Tue Dec 14 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 11.8 * New cdecl keywords: There are now the new pseudo-English keywords of evaluation (plus eval as a shorthand), expression (plus expr), and initialization (plus init) that can optionally be used after constant (or const) instead of consteval, constexpr, or constinit, respectively. * Sat Dec 11 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 11.7 * When an unexpected name token is encountered, if said token is a cdecl keyword, it's now mentioned in the error message. * Zero-sized arrays are now correctly forbidden. * Fri Dec 03 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 11.6 * C++23: integer literal suffix support (z, uz) * C++23: operator[] support for zero-or-more arguments * Thu Nov 11 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 11.5 * Locations for error and warning messages have been improved. * The `show` command now correctly prints all possible commands to define a type when requested to show a type that does not exist. * A deprecated warning is now printed for a `register` array, `enum`, `class`, `struct`, `union`, pointer, pointer to member, reference, and rvalue reference between C++11 and C++14. (Previously, a warning was printed only for built-in types and `typedef`s.) * Fri Oct 15 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 11.4 * Allow declarations using unknown scoped type names * const-volatile-restrict-qualified _Atomic types are now correctly forbidden. * Fri Oct 08 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 11.3 * Both an --explicit-csu/-S command-line and explicit-ecsu set option have been added. * Sun Oct 03 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 11.2 * const_cast, dynamic_cast, and reinterpret_cast now perform additional checks. - Add unbreak-gnulib.diff * Fri Oct 01 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 11.1 * Fixed multiple nested declarations crash. * Tue Sep 28 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 11.0 * Correctly forbid functions returning struct in K&R C. * Support digraphs before C95 and trigraphs in K&R C. * Optional () for destructor. * C++20's nested inline namespaces are now supported * In-class default, delete, and noexcept constructors are now accepted. * A raw string literal like R"abc(X)ab)abc" was previously not parsed correctly. * An array of reference (or rvalue reference) is now correctly flagged as an error. * Sat Aug 28 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 10.4 * Added support for Microsoft calling conventions, MS __declspec, and __asm keywords, and __m64/__m128 types. - Drop unbreak-gnulib.diff (solved upstream) * Sun Aug 15 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 10.3 * Marking functions and conversion operators = delete is now supported. - Add unbreak-gnulib.diff * Wed Jun 30 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 10.2 * At most one of `virtual`, `final`, or `override` is now printed. * Pointers to union members are now allowed. * Sun Jun 06 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 10.1 * More robust scoped name type checking * More C++ std types * Thu May 27 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 10.0 * cdecl now recognizes "asm" just to say it's not supported. * Improved operator<=> now checks for usable return type. * Default relational operators in C++20 are now supported. * C++'s raw string literals R"delim(...)delim" are now supported. * Thu Apr 29 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 9.10 * The show command now supports globs. * Mon Mar 22 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 9.9 * Added more predefined types: iconv_t, locale_t, posix_spawnattr_t, posix_spawn_file_actions_t, regex_t, regmatch_t, and regoff_t. * A pointer to function with qualifiers is now caught for C. * Nested types are now correctly caught as an error in C. * A scoped name having a bit-field width is now caught as an error. * A declaration having a storage class and a bit-field width is now correctly caught as an error. * Sat Mar 06 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 9.8 * extern "C" using declarations are now supported. * The help for pseudo-English now correctly includes auto as a storage class for C++98 and C++03. * Fri Feb 26 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 9.7 * Multi-type typedef support * Sat Feb 20 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 9.6 * More constructor & destructor warning checks * Type redefinition error now includes existing type * Wed Feb 10 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 9.5.1 * A function as a parameter is now automatically converted to a pointer to function per 6.3.2.1(4) of the C standard. * Sat Feb 06 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 9.5 * Added enum, class, struct, and union attribute specifier support. * Added fixed-type enum support. * Added C2X __attr__ aliases. * Added support for parsing C++ attribute arguments. * Added support for parsing C++17 using in attributes. * Added support for parsing GNU __attribute__. * Sun Jan 24 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 9.4 * Improved constructor & destructor declaration support * Ability to explain forward declarations * Ability to catch types having bit-field widths * Fri Jan 15 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 9.3 * Declarations with bit-field widths are now supported. * Wed Jan 13 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 9.2 * In-class constructor declarations without any storage-class-like type are now supported. * Both final and override are now recognized as keywords only in a member function declaration context. * Fri Jan 01 2021 Jan Engelhardt <jengelh@inai.de> - Update to release 9.1 * Implicit int functions in K&R C are now supported ("set knrc", "explain f(x)")
/usr/bin/c++decl /usr/bin/cdecl /usr/share/bash-completions /usr/share/bash-completions/completions /usr/share/bash-completions/completions/_cdecl /usr/share/licenses/cdecl /usr/share/licenses/cdecl/COPYING /usr/share/man/man1/c++decl.1.gz /usr/share/man/man1/cdecl.1.gz /usr/share/zsh /usr/share/zsh/site-functions /usr/share/zsh/site-functions/_cdecl
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Nov 27 00:50:03 2024