[PATCH] D87974: [Builtin] Add __builtin_zero_non_value_bits.

Zoe Carver via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 20 15:32:46 PST 2020


zoecarver added a comment.

> How should I check for support? Is it going to be e.g. __has_feature(__builtin_clear_padding)?

I'm not sure `__has_feature` will work but `__has_builtin` should work on both Clang and GCC.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87974



More information about the cfe-commits mailing list