constexpr in a; shows syntax error.
Maybe the tool is purely C, and doesn't support C++.
This will not be a bug then.
Is there a similar tool for C++?
Simple googling didn't help.
constexpr dates from C++11. The variant of C++ supported by cdecl is, according to the manual, equivalent to what Stroustrup's cfront Release 2.0 implemented, i.e. C++ circa 1989.
constexpr in a;
shows syntax error. Maybe the tool is purely C, and doesn't support C++. This will not be a bug then. Is there a similar tool for C++? Simple googling didn't help.