r205199 - [OPENMP] clang-formatted include/clang/AST/StmtOpenMP.h

Alexander Musman alexander.musman at gmail.com
Mon Mar 31 08:08:32 PDT 2014


Author: amusman
Date: Mon Mar 31 10:08:32 2014
New Revision: 205199

URL: http://llvm.org/viewvc/llvm-project?rev=205199&view=rev
Log:
[OPENMP] clang-formatted include/clang/AST/StmtOpenMP.h

Modified:
    cfe/trunk/include/clang/AST/StmtOpenMP.h

Modified: cfe/trunk/include/clang/AST/StmtOpenMP.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/StmtOpenMP.h?rev=205199&r1=205198&r2=205199&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/StmtOpenMP.h (original)
+++ cfe/trunk/include/clang/AST/StmtOpenMP.h Mon Mar 31 10:08:32 2014
@@ -158,8 +158,8 @@ class OMPParallelDirective : public OMPE
   ///
   explicit OMPParallelDirective(unsigned NumClauses)
       : OMPExecutableDirective(this, OMPParallelDirectiveClass, OMPD_parallel,
-                               SourceLocation(), SourceLocation(),
-                               NumClauses, 1) {}
+                               SourceLocation(), SourceLocation(), NumClauses,
+                               1) {}
 
 public:
   /// \brief Creates directive with a list of \a Clauses.
@@ -180,8 +180,7 @@ public:
   /// \param NumClauses Number of clauses.
   ///
   static OMPParallelDirective *CreateEmpty(const ASTContext &C,
-                                           unsigned NumClauses,
-                                           EmptyShell);
+                                           unsigned NumClauses, EmptyShell);
 
   static bool classof(const Stmt *T) {
     return T->getStmtClass() == OMPParallelDirectiveClass;
@@ -209,10 +208,10 @@ class OMPSimdDirective : public OMPExecu
   /// \param NumClauses Number of clauses.
   ///
   OMPSimdDirective(SourceLocation StartLoc, SourceLocation EndLoc,
-                  unsigned CollapsedNum, unsigned NumClauses)
-    : OMPExecutableDirective(this, OMPSimdDirectiveClass, OMPD_simd,
-                             StartLoc, EndLoc, NumClauses, 1),
-      CollapsedNum(CollapsedNum) { }
+                   unsigned CollapsedNum, unsigned NumClauses)
+      : OMPExecutableDirective(this, OMPSimdDirectiveClass, OMPD_simd, StartLoc,
+                               EndLoc, NumClauses, 1),
+        CollapsedNum(CollapsedNum) {}
 
   /// \brief Build an empty directive.
   ///
@@ -220,10 +219,11 @@ class OMPSimdDirective : public OMPExecu
   /// \param NumClauses Number of clauses.
   ///
   explicit OMPSimdDirective(unsigned CollapsedNum, unsigned NumClauses)
-    : OMPExecutableDirective(this, OMPSimdDirectiveClass, OMPD_simd,
-                             SourceLocation(), SourceLocation(),
-                             NumClauses, 1),
-                             CollapsedNum(CollapsedNum) { }
+      : OMPExecutableDirective(this, OMPSimdDirectiveClass, OMPD_simd,
+                               SourceLocation(), SourceLocation(), NumClauses,
+                               1),
+        CollapsedNum(CollapsedNum) {}
+
 public:
   /// \brief Creates directive with a list of \a Clauses.
   ///
@@ -233,8 +233,7 @@ public:
   /// \param Clauses List of clauses.
   /// \param AssociatedStmt Statement, associated with the directive.
   ///
-  static OMPSimdDirective *Create(const ASTContext &C,
-                                  SourceLocation StartLoc,
+  static OMPSimdDirective *Create(const ASTContext &C, SourceLocation StartLoc,
                                   SourceLocation EndLoc,
                                   ArrayRef<OMPClause *> Clauses,
                                   Stmt *AssociatedStmt);
@@ -246,10 +245,8 @@ public:
   /// \param CollapsedNum Number of collapsed nested loops.
   /// \param NumClauses Number of clauses.
   ///
-  static OMPSimdDirective *CreateEmpty(const ASTContext &C,
-                                       unsigned NumClauses,
-                                       unsigned CollapsedNum,
-                                       EmptyShell);
+  static OMPSimdDirective *CreateEmpty(const ASTContext &C, unsigned NumClauses,
+                                       unsigned CollapsedNum, EmptyShell);
 
   unsigned getCollapsedNumber() const { return CollapsedNum; }
 





More information about the cfe-commits mailing list