mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-08-02 06:46:04 +00:00
pw_preprocessor: Remove PW_HAVE_FEATURE
CL 210816 removed the only use of this macro. Bug: 341975367 Change-Id: I081a34ad3cb0d7e0a9321350f56f4abda0b29e04 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/211016 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ted Pudlik <tpudlik@google.com> Commit-Queue: Aaron Green <aarongreen@google.com>
This commit is contained in:
parent
0f76642cb2
commit
ffdc28a85c
|
@ -129,15 +129,6 @@
|
|||
#define PW_NO_SANITIZE(check)
|
||||
#endif // __clang__
|
||||
|
||||
/// Wrapper around `__has_feature`, which is defined by GCC and Clang and
|
||||
/// evaluates to a non zero constant integer if the feature is supported
|
||||
/// standardized in the current language standard or 0 if not.
|
||||
#ifdef __has_feature
|
||||
#define PW_HAVE_FEATURE(x) __has_feature(x)
|
||||
#else
|
||||
#define PW_HAVE_FEATURE(x) 0
|
||||
#endif // __has_feature
|
||||
|
||||
/// Wrapper around `__has_attribute`, which is defined by GCC 5+ and Clang and
|
||||
/// evaluates to a non zero constant integer if the attribute is supported or 0
|
||||
/// if not.
|
||||
|
|
Loading…
Reference in New Issue
Block a user