HomePhabricator

[OpenMP] Move header inclusion out of 'extern "C"'

Description

[OpenMP] Move header inclusion out of 'extern "C"'

This leads to problems when compiling C++ code with libc++ for Nvidia GPUs
because Clang now uses wrappers for math functions that might include
C++ templates not allowed in 'extern "C"'.

Differentiel Revision: https://reviews.llvm.org/D64625

Details

Committed
HahnfeldJul 16 2019, 10:16 AM
Parents
rL366228: Removed -mno-omit-leaf-frame-pointer from flags.
Branches
Unknown
Tags
Unknown