Re: improve clang support (35)

2020-08-16 Thread Florian Weimer
* Bruno Haible: > clang (at least in version >= 4), in C++ mode, supports the 'throw > ()' declaration on functions, and uses it to optimize try/catch > statements at the caller site. I think throw() has been removed from C++20:

improve clang support (35)

2020-08-16 Thread Bruno Haible
clang (at least in version >= 4), in C++ mode, supports the 'throw ()' declaration on functions, and uses it to optimize try/catch statements at the caller site. 2020-08-16 Bruno Haible Use 'throw ()' for optimization in C++ mode also on clang. * lib/cdefs.h (__THROW): Define