[PATCH] D49091: Warn about usage of __has_include/__has_include_next in macro expansions

Tor Arne Vestbø via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 6 11:28:03 PST 2019


torarnv added a comment.

I'm picking this up on the Qt side and removing our wrapper macro. Does this apply to other cases as well? The standard mentions `_­_­has_­cpp_­attribute`, but what about `__has_builtin`, `__has_attribute`,  and `__has_include_next`?


Repository:
  rC Clang

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

https://reviews.llvm.org/D49091





More information about the cfe-commits mailing list