[OPENMP] Support C++ member functions in the device constructs.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 2 May 2018 15:45:28 +0000 (15:45 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 2 May 2018 15:45:28 +0000 (15:45 +0000)
commit6d944109144acdfdba7caf6fd1a29cbbff0f4628
tree0004f17c954ab995661a4f4443c4c3d60e889ec7
parentf1fadea5cec7e3b49de653c648e1a63436513894
[OPENMP] Support C++ member functions in the device constructs.

Added correct emission of the C++ member functions for the device
function when they are used in the device constructs.

llvm-svn: 331365
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CodeGenModule.cpp
clang/test/OpenMP/declare_target_codegen.cpp