summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGOpenMPRuntime.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-05-02 15:45:28 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-05-02 15:45:28 +0000
commit6d944109144acdfdba7caf6fd1a29cbbff0f4628 (patch)
tree0004f17c954ab995661a4f4443c4c3d60e889ec7 /clang/lib/CodeGen/CGOpenMPRuntime.h
parentf1fadea5cec7e3b49de653c648e1a63436513894 (diff)
downloadbcm5719-llvm-6d944109144acdfdba7caf6fd1a29cbbff0f4628.tar.gz
bcm5719-llvm-6d944109144acdfdba7caf6fd1a29cbbff0f4628.zip
[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
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntime.h')
-rw-r--r--clang/lib/CodeGen/CGOpenMPRuntime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.h b/clang/lib/CodeGen/CGOpenMPRuntime.h
index e1ce09adc22..4546da4746f 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.h
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.h
@@ -1505,7 +1505,7 @@ public:
/// Marks the declaration as alread emitted for the device code and returns
/// true, if it was marked already, and false, otherwise.
- bool markAsGlobalTarget(const FunctionDecl *D);
+ bool markAsGlobalTarget(GlobalDecl GD);
};
OpenPOWER on IntegriCloud