Skip to content

Commit ef8df92

Browse files
author
Paul C. Anagnostopoulos
committed
[TableGen] Fix ProfileFoldOpInit so that parameters are named consistently [NFC]
See https://bugs.llvm.org/show_bug.cgi?id=50595 Differential Revision: https://reviews.llvm.org/D103823
1 parent 2ef81cb commit ef8df92

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/TableGen/Record.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -1470,9 +1470,8 @@ std::string TernOpInit::getAsString() const {
14701470
", " + MHS->getAsString() + ", " + RHS->getAsString() + ")");
14711471
}
14721472

1473-
static void ProfileFoldOpInit(FoldingSetNodeID &ID, Init *A, Init *B,
1474-
Init *Start, Init *List, Init *Expr,
1475-
RecTy *Type) {
1473+
static void ProfileFoldOpInit(FoldingSetNodeID &ID, Init *Start, Init *List,
1474+
Init *A, Init *B, Init *Expr, RecTy *Type) {
14761475
ID.AddPointer(Start);
14771476
ID.AddPointer(List);
14781477
ID.AddPointer(A);

0 commit comments

Comments
 (0)