Skip to content

Commit 679b23c

Browse files
committed
Appease clang-format
1 parent c19666c commit 679b23c

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

clang/include/clang/AST/OpenMPClause.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,8 +1159,7 @@ class OMPFullClause final : public OMPNoChildClause<llvm::omp::OMPC_full> {
11591159
/// for(int j = 0; j < 256; j+=2)
11601160
/// for(int k = 127; k >= 0; --k)
11611161
/// \endcode
1162-
class OMPLoopRangeClause final
1163-
: public OMPClause {
1162+
class OMPLoopRangeClause final : public OMPClause {
11641163
friend class OMPClauseReader;
11651164
/// Location of '('
11661165
SourceLocation LParenLoc;
@@ -1187,7 +1186,7 @@ class OMPLoopRangeClause final
11871186
static OMPLoopRangeClause *
11881187
Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc,
11891188
SourceLocation FirstLoc, SourceLocation CountLoc,
1190-
SourceLocation EndLoc, Expr* First, Expr* Count);
1189+
SourceLocation EndLoc, Expr *First, Expr *Count);
11911190

11921191
/// Build an empty 'looprange' clause node.
11931192
static OMPLoopRangeClause *CreateEmpty(const ASTContext &C);
@@ -1207,9 +1206,7 @@ class OMPLoopRangeClause final
12071206
/// Get looprange 'count' expression
12081207
Expr *getCount() const { return cast_or_null<Expr>(Args[1]); }
12091208

1210-
child_range children() {
1211-
return child_range(Args, Args + NumArgs);
1212-
}
1209+
child_range children() { return child_range(Args, Args + NumArgs); }
12131210
const_child_range children() const {
12141211
return const_child_range(Args, Args + NumArgs);
12151212
}

clang/lib/AST/OpenMPClause.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ OMPLoopRangeClause *
10241024
OMPLoopRangeClause::Create(const ASTContext &C, SourceLocation StartLoc,
10251025
SourceLocation LParenLoc, SourceLocation FirstLoc,
10261026
SourceLocation CountLoc, SourceLocation EndLoc,
1027-
Expr *First, Expr* Count) {
1027+
Expr *First, Expr *Count) {
10281028
OMPLoopRangeClause *Clause = CreateEmpty(C);
10291029
Clause->setLocStart(StartLoc);
10301030
Clause->setLParenLoc(LParenLoc);

openmp/runtime/test/transform/fuse/foreach.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,5 +188,4 @@ int main() {
188188
// CHECK-NEXT: [C] dtor
189189
// CHECK-NEXT: done
190190

191-
192191
#endif

openmp/runtime/test/transform/fuse/parallel-wsloop-collapse-foreach.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,4 +205,3 @@ int main() {
205205
// CHECK-NEXT: [range] dtor
206206
// CHECK-NEXT: [init-stmt] dtor
207207
// CHECK-NEXT: done
208-

0 commit comments

Comments
 (0)