Skip to content

Commit a1f65b6

Browse files
committed
format
1 parent 2e1bd7f commit a1f65b6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/utils/TableGen/Basic/DirectiveEmitter.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,6 @@ orderSpellings(ArrayRef<Spelling::Value> Spellings) {
391391
[](const Spelling::Value &A, const Spelling::Value &B) {
392392
return A.Versions < B.Versions;
393393
});
394-
395394
return List;
396395
}
397396

@@ -417,8 +416,8 @@ static void generateGetName(ArrayRef<const Record *> Records, raw_ostream &OS,
417416
} else {
418417
OS << " {\n";
419418
std::string SpellingsName = Ident + "_spellings";
420-
OS << " static constexpr llvm::directive::Spelling "
421-
<< SpellingsName << "[] = {\n";
419+
OS << " static constexpr llvm::directive::Spelling " << SpellingsName
420+
<< "[] = {\n";
422421
for (auto &S : Spellings) {
423422
OS << " {\"" << S.Name << "\", {" << S.Versions.Min << ", "
424423
<< S.Versions.Max << "}},\n";

0 commit comments

Comments
 (0)