diff options
author | Kazuaki Ishizaki <ishizaki@jp.ibm.com> | 2020-01-08 09:35:12 +0800 |
---|---|---|
committer | Jim Lin <tclin914@gmail.com> | 2020-01-08 09:35:26 +0800 |
commit | 9de6a3987251d05eb734e34597dcde2f12aac9ba (patch) | |
tree | c454cbd6527199dc3df333c194844de7f02b7edd | |
parent | c23c8746d0cb3ea2c7265033fccba379ef87df70 (diff) | |
download | bcm5719-llvm-9de6a3987251d05eb734e34597dcde2f12aac9ba.tar.gz bcm5719-llvm-9de6a3987251d05eb734e34597dcde2f12aac9ba.zip |
[libcxx] fix incorrect attribute property
Summary:
`__has_attribute(fallthough)` -> `__has_attribute(fallthrough)`
This is a follow-up of https://reviews.llvm.org/D72287
Reviewers: EricWF, mclow.lists, Jim
Reviewed By: Jim
Subscribers: christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D72314
-rw-r--r-- | libcxx/include/__config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index 9f5f8452663..7394d443b72 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -1300,7 +1300,7 @@ _LIBCPP_FUNC_VIS extern "C" void __sanitizer_annotate_contiguous_container( # define _LIBCPP_FALLTHROUGH() [[fallthrough]] #elif __has_cpp_attribute(clang::fallthrough) # define _LIBCPP_FALLTHROUGH() [[clang::fallthrough]] -#elif __has_attribute(fallthough) || _GNUC_VER >= 700 +#elif __has_attribute(fallthrough) || _GNUC_VER >= 700 # define _LIBCPP_FALLTHROUGH() __attribute__((__fallthrough__)) #else # define _LIBCPP_FALLTHROUGH() ((void)0) |