Skip to content

Commit 5352478

Browse files
authored
[TableGen] Remove comments from generated validateOperandClass (#117352)
This generated comments like: // 'BoolReg' class case MCK_BoolReg: { which seem redundant because the name is always repeated on the next line as part of the MCK_ enumerator.
1 parent ceaf6e9 commit 5352478

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/utils/TableGen/AsmMatcherEmitter.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -2491,7 +2491,6 @@ static void emitValidateOperandClass(AsmMatcherInfo &Info, raw_ostream &OS) {
24912491
if (!CI.isUserClass())
24922492
continue;
24932493

2494-
OS << " // '" << CI.ClassName << "' class\n";
24952494
OS << " case " << CI.Name << ": {\n";
24962495
OS << " DiagnosticPredicate DP(Operand." << CI.PredicateMethod
24972496
<< "());\n";

0 commit comments

Comments
 (0)