Skip to content

Commit

Permalink
[RISCV] isDigit instead of isdigit for consistency. NFC
Browse files Browse the repository at this point in the history
There are several other calls to isDigit in RISCVISAInfo.cpp
  • Loading branch information
topperc committed Mar 30, 2023
1 parent e9c97cf commit 8c124e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Support/RISCVISAInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ RISCVISAInfo::parseArchString(StringRef Arch, bool EnableExperimentalExtension,
break;
case 'g':
// g = imafd
if (Arch.size() > 5 && isdigit(Arch[5]))
if (Arch.size() > 5 && isDigit(Arch[5]))
return createStringError(errc::invalid_argument,
"version not supported for 'g'");
StdExts = StdExts.drop_front(4);
Expand Down

0 comments on commit 8c124e3

Please sign in to comment.