summaryrefslogtreecommitdiff
path: root/include/clang/AST/DataRecursiveASTVisitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/DataRecursiveASTVisitor.h')
-rw-r--r--include/clang/AST/DataRecursiveASTVisitor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/AST/DataRecursiveASTVisitor.h b/include/clang/AST/DataRecursiveASTVisitor.h
index 536d372ec4..86d6ca8667 100644
--- a/include/clang/AST/DataRecursiveASTVisitor.h
+++ b/include/clang/AST/DataRecursiveASTVisitor.h
@@ -2305,6 +2305,11 @@ DEF_TRAVERSE_STMT(OMPSectionDirective, {
return false;
})
+DEF_TRAVERSE_STMT(OMPSingleDirective, {
+ if (!TraverseOMPExecutableDirective(S))
+ return false;
+})
+
// OpenMP clauses.
template <typename Derived>
bool RecursiveASTVisitor<Derived>::TraverseOMPClause(OMPClause *C) {