summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/RecursiveASTVisitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/libclang/RecursiveASTVisitor.h')
-rw-r--r--clang/tools/libclang/RecursiveASTVisitor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/tools/libclang/RecursiveASTVisitor.h b/clang/tools/libclang/RecursiveASTVisitor.h
index 701de899913..4d2b3a98409 100644
--- a/clang/tools/libclang/RecursiveASTVisitor.h
+++ b/clang/tools/libclang/RecursiveASTVisitor.h
@@ -2337,6 +2337,12 @@ bool RecursiveASTVisitor<Derived>::VisitOMPPrivateClause(OMPPrivateClause *C) {
return true;
}
+template<typename Derived>
+bool RecursiveASTVisitor<Derived>::VisitOMPSharedClause(OMPSharedClause *C) {
+ PROCESS_OMP_CLAUSE_LIST(OMPSharedClause, C)
+ return true;
+}
+
#undef PROCESS_OMP_CLAUSE_LIST
// FIXME: look at the following tricky-seeming exprs to see if we
OpenPOWER on IntegriCloud