summaryrefslogtreecommitdiff
path: root/tools/libclang
diff options
context:
space:
mode:
authorPatrick Lyster <Patrick.lyster@ibm.com>2018-10-01 13:47:43 +0000
committerPatrick Lyster <Patrick.lyster@ibm.com>2018-10-01 13:47:43 +0000
commit0db38f413308fd9c83d285dbc65bae645b0c09ba (patch)
treec747e2494e81d4b2ff40786208a585107e79e499 /tools/libclang
parenta0c469ac4d42afba6f5c5f285b9d8da26833761b (diff)
downloadclang-0db38f413308fd9c83d285dbc65bae645b0c09ba.tar.gz
Add support for unified_shared_memory clause on requires directive
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343472 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 7e2380ea7b..3826be5cf7 100644
--- a/tools/libclang/CIndex.cpp
+++ b/tools/libclang/CIndex.cpp
@@ -2210,6 +2210,9 @@ void OMPClauseEnqueue::VisitOMPNogroupClause(const OMPNogroupClause *) {}
void OMPClauseEnqueue::VisitOMPUnifiedAddressClause(
const OMPUnifiedAddressClause *) {}
+void OMPClauseEnqueue::VisitOMPUnifiedSharedMemoryClause(
+ const OMPUnifiedSharedMemoryClause *) {}
+
void OMPClauseEnqueue::VisitOMPDeviceClause(const OMPDeviceClause *C) {
Visitor->AddStmt(C->getDevice());
}