summaryrefslogtreecommitdiff
path: root/tools/libclang
diff options
context:
space:
mode:
authorPatrick Lyster <Patrick.lyster@ibm.com>2018-10-03 20:07:58 +0000
committerPatrick Lyster <Patrick.lyster@ibm.com>2018-10-03 20:07:58 +0000
commit21352e1ac84011834d3e378c5c0940033c66e19b (patch)
tree3c1e989f482aacac93c427dadb67e36c4c9ebd0e /tools/libclang
parent248336fd97182c7f3c45fb7e5e3e75335b0be6f8 (diff)
downloadclang-21352e1ac84011834d3e378c5c0940033c66e19b.tar.gz
[OPENMP] Add reverse_offload clause to requires directive
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang')
-rw-r--r--tools/libclang/CIndex.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
index 3826be5cf7..ce653db8c9 100644
--- a/tools/libclang/CIndex.cpp
+++ b/tools/libclang/CIndex.cpp
@@ -2213,6 +2213,9 @@ void OMPClauseEnqueue::VisitOMPUnifiedAddressClause(
void OMPClauseEnqueue::VisitOMPUnifiedSharedMemoryClause(
const OMPUnifiedSharedMemoryClause *) {}
+void OMPClauseEnqueue::VisitOMPReverseOffloadClause(
+ const OMPReverseOffloadClause *) {}
+
void OMPClauseEnqueue::VisitOMPDeviceClause(const OMPDeviceClause *C) {
Visitor->AddStmt(C->getDevice());
}