Skip to content

Commit 44ba2bd

Browse files
author
Nemanja Ivanovic
committed
Appease clang-format
1 parent 3d80967 commit 44ba2bd

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

llvm/lib/TableGen/TGParser.cpp

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,26 +1788,26 @@ const Init *TGParser::ParseOperation(Record *CurRec, const RecTy *ItemType) {
17881788
// Deal with BinOps whose arguments have different types, by
17891789
// rewriting ArgType in between them.
17901790
switch (Code) {
1791-
case BinOpInit::SETDAGOPNAME:
1792-
// After parsing the first dag argument, expect a string.
1793-
ArgType = StringRecTy::get(Records);
1794-
break;
1795-
case BinOpInit::SETDAGOP:
1796-
// After parsing the first dag argument, switch to expecting
1797-
// a record, with no restriction on its superclasses.
1798-
ArgType = RecordRecTy::get(Records, {});
1799-
break;
1800-
case BinOpInit::GETDAGARG:
1801-
// After parsing the first dag argument, expect an index integer or a
1802-
// name string.
1803-
ArgType = nullptr;
1804-
break;
1805-
case BinOpInit::GETDAGNAME:
1806-
// After parsing the first dag argument, expect an index integer.
1807-
ArgType = IntRecTy::get(Records);
1808-
break;
1809-
default:
1810-
break;
1791+
case BinOpInit::SETDAGOPNAME:
1792+
// After parsing the first dag argument, expect a string.
1793+
ArgType = StringRecTy::get(Records);
1794+
break;
1795+
case BinOpInit::SETDAGOP:
1796+
// After parsing the first dag argument, switch to expecting
1797+
// a record, with no restriction on its superclasses.
1798+
ArgType = RecordRecTy::get(Records, {});
1799+
break;
1800+
case BinOpInit::GETDAGARG:
1801+
// After parsing the first dag argument, expect an index integer or a
1802+
// name string.
1803+
ArgType = nullptr;
1804+
break;
1805+
case BinOpInit::GETDAGNAME:
1806+
// After parsing the first dag argument, expect an index integer.
1807+
ArgType = IntRecTy::get(Records);
1808+
break;
1809+
default:
1810+
break;
18111811
}
18121812

18131813
if (!consume(tgtok::comma))

0 commit comments

Comments
 (0)