summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CIndex.cpp
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
commit6bdf63bd329d1bb5e48acbb8f25ee0ea8fecd9e2 (patch)
treeb2b2dd8c9d201279a4f4ed783c7a92b7b55eae59 /clang/tools/libclang/CIndex.cpp
parent703fbde3cbd7fdd000ad5af9f7055c50c2641441 (diff)
downloadbcm5719-llvm-6bdf63bd329d1bb5e48acbb8f25ee0ea8fecd9e2.tar.gz
bcm5719-llvm-6bdf63bd329d1bb5e48acbb8f25ee0ea8fecd9e2.zip
[OPENMP] Add reverse_offload clause to requires directive
llvm-svn: 343711
Diffstat (limited to 'clang/tools/libclang/CIndex.cpp')
-rw-r--r--clang/tools/libclang/CIndex.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp
index 3826be5cf7a..ce653db8c99 100644
--- a/clang/tools/libclang/CIndex.cpp
+++ b/clang/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());
}
OpenPOWER on IntegriCloud