[OpenMP] Rename last file to cpp and remove LIBOMP_CFLAGS
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Tue, 30 Jul 2019 18:37:28 +0000 (18:37 +0000)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Tue, 30 Jul 2019 18:37:28 +0000 (18:37 +0000)
commit52b87ac32f5726c83a108b6129621813d1e1fd2a
tree1f7ac261103cbb222568db28e06928803cfdc90f
parent6e2be4eab3dd5dbcc1ec885656c56f5f0200091d
[OpenMP] Rename last file to cpp and remove LIBOMP_CFLAGS

All other files are already C++ and the build system has always
passed '-x c++' for C files, effectively compiling them as C++.

To stay warning free we need one fix in ittnotify_static.{c,cpp}:
The variable dll_path can be written to, so it must not be const.
GCC complained with -Wcast-qual and I think it's right.

Differential Revision: https://reviews.llvm.org/D65285

llvm-svn: 367343
openmp/README.rst
openmp/runtime/CMakeLists.txt
openmp/runtime/cmake/LibompHandleFlags.cmake
openmp/runtime/cmake/config-ix.cmake
openmp/runtime/src/CMakeLists.txt
openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.cpp [moved from openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c with 99% similarity]