Skip to content

Commit 7e3d6a6

Browse files
committed
fixup! [RISCV][NFC] Adopt DiagnosticString interface
1 parent 70498da commit 7e3d6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ bool RISCVAsmParser::matchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
16231623
}
16241624
}
16251625

1626-
if (const char* MatchDiag = getMatchKindDiag((RISCVMatchResultTy)Result)) {
1626+
if (const char *MatchDiag = getMatchKindDiag((RISCVMatchResultTy)Result)) {
16271627
SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc();
16281628
return Error(ErrorLoc, MatchDiag);
16291629
}

0 commit comments

Comments
 (0)