From: Alexey Bataev Date: Wed, 9 Jul 2014 09:50:46 +0000 (+0000) Subject: Revert commit 212599. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2e8e7dec2ed632ef96b420cdbfedd8fa8efadb4;p=clang Revert commit 212599. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212600 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }