projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9c97cf
)
[RISCV] isDigit instead of isdigit for consistency. NFC
author
Craig Topper
<craig.topper@sifive.com>
Thu, 30 Mar 2023 07:10:36 +0000
(
00:10
-0700)
committer
Craig 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
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/RISCVISAInfo.cpp
b/llvm/lib/Support/RISCVISAInfo.cpp
index
bd243f7
..
ffb0726
100644
(file)
--- a/
llvm/lib/Support/RISCVISAInfo.cpp
+++ b/
llvm/lib/Support/RISCVISAInfo.cpp
@@
-619,7
+619,7
@@
RISCVISAInfo::parseArchString(StringRef Arch, bool EnableExperimentalExtension,
break;
case 'g':
// g = imafd
- if (Arch.size() > 5 && is
d
igit(Arch[5]))
+ if (Arch.size() > 5 && is
D
igit(Arch[5]))
return createStringError(errc::invalid_argument,
"version not supported for 'g'");
StdExts = StdExts.drop_front(4);