Skip to content

Commit a5ac716

Browse files
committed
format
1 parent 6b95c8f commit a5ac716

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

llvm/include/llvm/Frontend/OpenMP/ConstructDecompositionT.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ find_unique(Container &&container, Predicate &&pred) {
6969
namespace tomp {
7070

7171
enum struct ErrorCode : int {
72-
NoLeafAllowing, // No leaf that allows this clause
73-
NoLeafPrivatizing, // No leaf that has a privatizing clause
74-
InvalidDirNameMod, // Invalid directive name modifier
75-
RedModNotApplied, // Reduction modifier not applied
72+
NoLeafAllowing, // No leaf that allows this clause
73+
NoLeafPrivatizing, // No leaf that has a privatizing clause
74+
InvalidDirNameMod, // Invalid directive name modifier
75+
RedModNotApplied, // Reduction modifier not applied
7676
};
7777

7878
// ClauseType: Either an instance of ClauseT, or a type derived from ClauseT.

llvm/unittests/Frontend/OpenMPDecompositionTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ struct StringifyClause {
277277
std::string Str;
278278
};
279279

280-
std::string stringify(const omp::Clause &C) {
280+
std::string stringify(const omp::Clause &C) { //
281281
return StringifyClause(C).Str;
282282
}
283283

@@ -308,8 +308,8 @@ std::string stringify(tomp::ErrorCode E) {
308308
std::string stringify(std::pair<const omp::Clause *, tomp::ErrorCode> &ER) {
309309
std::stringstream Stream;
310310

311-
Stream << "error while applying '" << stringify(*ER.first) << "': "
312-
<< stringify(ER.second);
311+
Stream << "error while applying '" << stringify(*ER.first)
312+
<< "': " << stringify(ER.second);
313313
return Stream.str();
314314
}
315315

0 commit comments

Comments
 (0)