On 07/19/2018 01:48 PM, H.J. Lu wrote:
Both __has_attribute (indirect_return) and __has_attribute (__indirect_return__) work here.
Applications can have #define indirect_return so the variant without underscore mangling is definitely not correct. Thanks, Florian