[Openmp-commits] [PATCH] D72287: [OpenMP] Fix incorrect property of __has_attribute() macro
Kelvin Li via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jan 6 12:14:51 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG19433b199d1c: [OpenMP] Fix incorrect property of __has_attribute() macro (authored by kkwli0).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72287/new/
https://reviews.llvm.org/D72287
Files:
openmp/runtime/src/kmp_os.h
Index: openmp/runtime/src/kmp_os.h
===================================================================
--- openmp/runtime/src/kmp_os.h
+++ openmp/runtime/src/kmp_os.h
@@ -313,7 +313,7 @@
# 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72287.236433.patch
Type: text/x-patch
Size: 544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200106/a109ea68/attachment.bin>
More information about the Openmp-commits
mailing list