[OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC compiler...
authorVadim Paretsky <b-vadipa@microsoft.com>
Fri, 12 May 2023 21:39:16 +0000 (14:39 -0700)
committerVadim Paretsky <b-vadipa@microsoft.com>
Fri, 12 May 2023 22:15:18 +0000 (15:15 -0700)
commit3665e2bdd1df50176670b2b14cbea0445e9c13a9
tree1a4a8a6f39222b8482e471f541e7fec3eee738ca
parentedd0981e71af87a686365d40e6410a8a377c153d
[OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC compiler for loop collapse (rectangular and non-rectangular loops)"

Fixes a GCC build issue (an instance of unallowed typename keyword) and reworks memory allocation
to avoid the use of C++ library based primitives ) in and restores the earlier commit https://reviews.llvm.org/D148393

Differential Revision: https://reviews.llvm.org/D149010
openmp/runtime/src/CMakeLists.txt
openmp/runtime/src/dllexports
openmp/runtime/src/kmp_collapse.cpp [new file with mode: 0644]
openmp/runtime/src/kmp_collapse.h [new file with mode: 0644]