[PATCH] D61949: [OpenMP][bugfix] Fix issues with C++ 17 compilation when handling math functions
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 15 12:12:53 PDT 2019
tra added a comment.
LGTM.
================
Comment at: lib/Headers/__clang_cuda_cmath.h:42
+// variant is supported.
+#if defined(_OPENMP) && defined(__cplusplus) && __cplusplus >= 201703L
+#define __NOEXCEPT noexcept
----------------
I think the change is useful for CUDA, too, but I'm OK keeping it OpenMP-specific for now. I can enable it for CUDA later.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61949/new/
https://reviews.llvm.org/D61949
More information about the cfe-commits
mailing list