[RISCV] isDigit instead of isdigit for consistency. NFC
authorCraig Topper <craig.topper@sifive.com>
Thu, 30 Mar 2023 07:10:36 +0000 (00:10 -0700)
committerCraig Topper <craig.topper@sifive.com>
Thu, 30 Mar 2023 07:11:12 +0000 (00:11 -0700)
There are several other calls to isDigit in RISCVISAInfo.cpp

llvm/lib/Support/RISCVISAInfo.cpp

index bd243f7..ffb0726 100644 (file)
@@ -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);