Preprocessing code which creates an alias to _has_include() via #define FOO _has_include cannot be processed with wave.
A real world example for this is googletest, see here: https://github.com/google/googletest/blob/52eb8108c5bdec04579160ae17225d66034bd723/googletest/include/gtest/internal/gtest-port.h#L277-L281
A minimal test case for this is
#define HAS_INCLUDE __has_include
#if HAS_INCLUDE(<header>)
#endif
Preprocessing code which creates an alias to
_has_include()via#define FOO _has_includecannot be processed with wave.A real world example for this is googletest, see here: https://github.com/google/googletest/blob/52eb8108c5bdec04579160ae17225d66034bd723/googletest/include/gtest/internal/gtest-port.h#L277-L281
A minimal test case for this is