[PATCH] D32950: Support C++1z features in `__has_extension`

Filipe Cabecinhas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 3 06:33:28 PST 2018


filcab added a comment.

Hi Eric,

I know this is old, but are you interested in reviving this patch? I don't know enough about clang's extensions to LGTM such a patch (updated for the current code), but would really like to have a way to know if extensions are supported.
We just now had people ask how to detect if `if constexpr` is available, and not having a feature check makes it much harder to figure out (and makes our test based on current clang behaviour).

Thank you,
Filipe


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D32950/new/

https://reviews.llvm.org/D32950





More information about the cfe-commits mailing list