There's a related [[preferred_name]] attribute in Clang but it's not a
success story. If you come up with something more usable I think we'll be
happy to implement it as well :)
https://clang.llvm.org/docs/AttributeReference.html#preferred-name
On Fri, 8 Sept 2023, 11:34 Jonathan Wakely via Gcc,
Clang has been providing __is_void for a very long time now, and is
definitely compatible with libstdc++. Does defining this builtin cause a
problem? Might be that the lookup rules for builtins are different or
something.
https://clang.llvm.org/docs/LanguageExtensions.html#type-trait-primitives
O
There were some discussions here about -ftime-trace. I've written a GCC
plugin with similar functionality last year:
https://github.com/royjacobson/externis. It works at least on GCC11 and
GCC12.
It was written by practically reverse engineering the GCC AST and can only
make use of the GCC plugin c