From e2e8e7dec2ed632ef96b420cdbfedd8fa8efadb4 Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Wed, 9 Jul 2014 09:50:46 +0000 Subject: [PATCH] Revert commit 212599. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212600 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/DataRecursiveASTVisitor.h | 3 +-- include/clang/AST/RecursiveASTVisitor.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/clang/AST/DataRecursiveASTVisitor.h b/include/clang/AST/DataRecursiveASTVisitor.h index fb5a834783..5a0e974435 100644 --- a/include/clang/AST/DataRecursiveASTVisitor.h +++ b/include/clang/AST/DataRecursiveASTVisitor.h @@ -2273,9 +2273,8 @@ DEF_TRAVERSE_STMT(AsTypeExpr, {}) template bool RecursiveASTVisitor::TraverseOMPExecutableDirective( OMPExecutableDirective *S) { - for (auto *C : S->clauses()) { + for (auto *C : S->clauses()) TRY_TO(TraverseOMPClause(C)); - } return true; } diff --git a/include/clang/AST/RecursiveASTVisitor.h b/include/clang/AST/RecursiveASTVisitor.h index 935dff500f..5e7d0b8284 100644 --- a/include/clang/AST/RecursiveASTVisitor.h +++ b/include/clang/AST/RecursiveASTVisitor.h @@ -2295,9 +2295,8 @@ DEF_TRAVERSE_STMT(AsTypeExpr, {}) template bool RecursiveASTVisitor::TraverseOMPExecutableDirective( OMPExecutableDirective *S) { - for (auto *C : S->clauses()) { + for (auto *C : S->clauses()) TRY_TO(TraverseOMPClause(C)); - } return true; } -- 2.50.1