r212600 - Revert commit 212599.

Alexey Bataev a.bataev at hotmail.com
Wed Jul 9 02:50:46 PDT 2014


Author: abataev
Date: Wed Jul  9 04:50:46 2014
New Revision: 212600

URL: http://llvm.org/viewvc/llvm-project?rev=212600&view=rev
Log:
Revert commit 212599.

Modified:
    cfe/trunk/include/clang/AST/DataRecursiveASTVisitor.h
    cfe/trunk/include/clang/AST/RecursiveASTVisitor.h

Modified: cfe/trunk/include/clang/AST/DataRecursiveASTVisitor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DataRecursiveASTVisitor.h?rev=212600&r1=212599&r2=212600&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DataRecursiveASTVisitor.h (original)
+++ cfe/trunk/include/clang/AST/DataRecursiveASTVisitor.h Wed Jul  9 04:50:46 2014
@@ -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;
 }
 

Modified: cfe/trunk/include/clang/AST/RecursiveASTVisitor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/RecursiveASTVisitor.h?rev=212600&r1=212599&r2=212600&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/RecursiveASTVisitor.h (original)
+++ cfe/trunk/include/clang/AST/RecursiveASTVisitor.h Wed Jul  9 04:50:46 2014
@@ -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;
 }
 





More information about the cfe-commits mailing list