From 3b2fb0af4032bd6c80101e8a7e9b9095406a151d Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Wed, 9 Jul 2014 09:50:46 +0000 Subject: [PATCH] Revert commit 212599. llvm-svn: 212600 --- clang/include/clang/AST/DataRecursiveASTVisitor.h | 3 +-- clang/include/clang/AST/RecursiveASTVisitor.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/clang/include/clang/AST/DataRecursiveASTVisitor.h b/clang/include/clang/AST/DataRecursiveASTVisitor.h index fb5a834783e2..5a0e97443506 100644 --- a/clang/include/clang/AST/DataRecursiveASTVisitor.h +++ b/clang/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/clang/include/clang/AST/RecursiveASTVisitor.h b/clang/include/clang/AST/RecursiveASTVisitor.h index 935dff500f0f..5e7d0b8284ce 100644 --- a/clang/include/clang/AST/RecursiveASTVisitor.h +++ b/clang/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; }