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:
1bd4986
)
[RISCV] Try using toupper instead of std::toupper to make the build bots happy.
author
Craig Topper
<craig.topper@sifive.com>
Fri, 2 Apr 2021 19:28:53 +0000
(12:28 -0700)
committer
Craig Topper
<craig.topper@sifive.com>
Fri, 2 Apr 2021 19:29:07 +0000
(12:29 -0700)
clang/lib/Sema/SemaChecking.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaChecking.cpp
b/clang/lib/Sema/SemaChecking.cpp
index
5b534f8
..
c92c1b5
100644
(file)
--- a/
clang/lib/Sema/SemaChecking.cpp
+++ b/
clang/lib/Sema/SemaChecking.cpp
@@
-3428,7
+3428,7
@@
bool Sema::CheckRISCVBuiltinFunctionCall(const TargetInfo &TI,
// Convert features like "zbr" and "experimental-zbr" to "Zbr".
I.consume_front("experimental-");
std::string FeatureStr = I.str();
- FeatureStr[0] =
std::
toupper(FeatureStr[0]);
+ FeatureStr[0] = toupper(FeatureStr[0]);
// Error message
FeatureMissing = true;