Skip to content

Commit f021c15

Browse files
committed
s/int/bool/
1 parent dafde63 commit f021c15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/utils/TableGen/Basic/DirectiveEmitter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,8 +642,8 @@ static void emitLeafTable(const DirectiveLanguage &DirLang, raw_ostream &OS,
642642
auto &LeavesB = LeafTable[B];
643643
int DirA = LeavesA[0], DirB = LeavesB[0];
644644
// First of all, end directives compare greater than non-end directives.
645-
int IsEndA = EndDirectives.contains(DirA);
646-
int IsEndB = EndDirectives.contains(DirB);
645+
bool IsEndA = EndDirectives.contains(DirA);
646+
bool IsEndB = EndDirectives.contains(DirB);
647647
if (IsEndA != IsEndB)
648648
return IsEndA < IsEndB;
649649
if (LeavesA[1] == 0 && LeavesB[1] == 0)

0 commit comments

Comments
 (0)