]> granicus.if.org Git - clang/commitdiff
Revert commit 212599.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 9 Jul 2014 09:50:46 +0000 (09:50 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 9 Jul 2014 09:50:46 +0000 (09:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212600 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DataRecursiveASTVisitor.h
include/clang/AST/RecursiveASTVisitor.h

index fb5a834783e26394f79998db0ddad6f78e806228..5a0e97443506f289245679896962aaaa308c3049 100644 (file)
@@ -2273,9 +2273,8 @@ DEF_TRAVERSE_STMT(AsTypeExpr, {})
 template <typename Derived>
 bool RecursiveASTVisitor<Derived>::TraverseOMPExecutableDirective(
     OMPExecutableDirective *S) {
-  for (auto *C : S->clauses()) {
+  for (auto *C : S->clauses())
     TRY_TO(TraverseOMPClause(C));
-  }
   return true;
 }
 
index 935dff500f0f2619734d40505a19c1a5b0b5ae57..5e7d0b8284ce410238bf1909406b90b68be60f52 100644 (file)
@@ -2295,9 +2295,8 @@ DEF_TRAVERSE_STMT(AsTypeExpr, {})
 template <typename Derived>
 bool RecursiveASTVisitor<Derived>::TraverseOMPExecutableDirective(
     OMPExecutableDirective *S) {
-  for (auto *C : S->clauses()) {
+  for (auto *C : S->clauses())
     TRY_TO(TraverseOMPClause(C));
-  }
   return true;
 }