[PATCH] D61949: [OpenMP][bugfix] Fix issues with C++ 17 compilation when handling math functions

Gheorghe-Teodor Bercea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 15 08:11:08 PDT 2019


gtbercea created this revision.
gtbercea added reviewers: ABataev, tra, jdoerfert, hfinkel, caomhin.
Herald added subscribers: cfe-commits, guansong.
Herald added a project: clang.

In OpenMP device offloading we must ensure that unde C++ 17, the inclusion of cstdlib will works correctly.


Repository:
  rC Clang

https://reviews.llvm.org/D61949

Files:
  lib/Headers/__clang_cuda_device_functions.h
  lib/Headers/__clang_cuda_math_forward_declares.h
  lib/Headers/openmp_wrappers/__clang_openmp_math_declares.h
  test/Headers/Inputs/include/cstdlib
  test/Headers/nvptx_device_cmath_functions_cxx17.cpp
  test/Headers/nvptx_device_math_functions_cxx17.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61949.199613.patch
Type: text/x-patch
Size: 6849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190515/01988771/attachment.bin>


More information about the cfe-commits mailing list