[OPENMP50]Fix possible conflict when emitting an alias for the functions
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 12 Dec 2019 20:33:18 +0000 (15:33 -0500)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 12 Dec 2019 20:48:33 +0000 (15:48 -0500)
commit5ad52587ec182f03636649e2cb66a0a4d9ffeab2
tree53e0b72e47f11fee9391b4d2397faf305c3d545b
parent8963332c3327daa652ba3e26d35f9109b6991985
[OPENMP50]Fix possible conflict when emitting an alias for the functions
in declare variant.

If the types of the fnction are not equal, but match, at the codegen
thei may have different types. This may lead to compiler crash.
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/test/OpenMP/declare_variant_mixed_codegen.c [new file with mode: 0644]