summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CIndex.cpp
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2016-05-26 17:49:04 +0000
committerSamuel Antao <sfantao@us.ibm.com>2016-05-26 17:49:04 +0000
commitec172c6da02111b2e1150b3bd94578789d4fbd14 (patch)
tree86d58f9d1449977bacb1d6e03886ad0461602716 /clang/tools/libclang/CIndex.cpp
parentd6e6bf1808f54cd755847aed3a4ee40b27102cb5 (diff)
downloadbcm5719-llvm-ec172c6da02111b2e1150b3bd94578789d4fbd14.tar.gz
bcm5719-llvm-ec172c6da02111b2e1150b3bd94578789d4fbd14.zip
[OpenMP] Parsing and sema support for the from clause
Summary: The patch contains the parsing and sema support for the `from` clause. Patch based on the original post by Kelvin Li. Reviewers: hfinkel, carlo.bertolli, kkwli0, arpith-jacob, ABataev Subscribers: caomhin, cfe-commits Differential Revision: http://reviews.llvm.org/D18488 llvm-svn: 270882
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 29e47fc6600..78df3ce264c 100644
--- a/clang/tools/libclang/CIndex.cpp
+++ b/clang/tools/libclang/CIndex.cpp
@@ -2249,6 +2249,9 @@ void OMPClauseEnqueue::VisitOMPDefaultmapClause(
void OMPClauseEnqueue::VisitOMPToClause(const OMPToClause *C) {
VisitOMPClauseList(C);
}
+void OMPClauseEnqueue::VisitOMPFromClause(const OMPFromClause *C) {
+ VisitOMPClauseList(C);
+}
}
void EnqueueVisitor::EnqueueChildren(const OMPClause *S) {
OpenPOWER on IntegriCloud