diff options
| author | Kelvin Li <kkwli0@gmail.com> | 2020-01-06 15:00:10 -0500 |
|---|---|---|
| committer | Kelvin Li <kkwli0@gmail.com> | 2020-01-06 15:00:10 -0500 |
| commit | 19433b199d1ccc8798475dbe9084fc66360ec5d5 (patch) | |
| tree | 57f1c53c07c46094e4791d56769c424168ad901b /openmp/runtime | |
| parent | 40a80a0a19f4ed1b5d4a2e842c5541da36342c14 (diff) | |
| download | bcm5719-llvm-19433b199d1ccc8798475dbe9084fc66360ec5d5.tar.gz bcm5719-llvm-19433b199d1ccc8798475dbe9084fc66360ec5d5.zip | |
[OpenMP] Fix incorrect property of __has_attribute() macro
__has_attribute(fallthough) -> __has_attribute(fallthrough)
Submitted by: kiszk (Kazuaki Ishizaki <ishizaki@jp.ibm.com>)
Differential Revision: https://reviews.llvm.org/D72287
Diffstat (limited to 'openmp/runtime')
| -rw-r--r-- | openmp/runtime/src/kmp_os.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_os.h b/openmp/runtime/src/kmp_os.h index cd942a9c443..bfe7765b2a9 100644 --- a/openmp/runtime/src/kmp_os.h +++ b/openmp/runtime/src/kmp_os.h @@ -313,7 +313,7 @@ extern "C" { # define KMP_FALLTHROUGH() [[fallthrough]] #elif __has_cpp_attribute(clang::fallthrough) # define KMP_FALLTHROUGH() [[clang::fallthrough]] -#elif __has_attribute(fallthough) || __GNUC__ >= 7 +#elif __has_attribute(fallthrough) || __GNUC__ >= 7 # define KMP_FALLTHROUGH() __attribute__((__fallthrough__)) #else # define KMP_FALLTHROUGH() ((void)0) |

