forked from OSchip/llvm-project
Revert "[RISCV] Try using toupper instead of std::toupper to make the build bots happy."
This reverts commit5311abc7a2
. jrtc27 included the proper header in1bd4986e7c
while I was trying to figure out what llvm/clang usually used.
This commit is contained in:
parent
5311abc7a2
commit
be7358df1e
|
@ -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] = toupper(FeatureStr[0]);
|
||||
FeatureStr[0] = std::toupper(FeatureStr[0]);
|
||||
|
||||
// Error message
|
||||
FeatureMissing = true;
|
||||
|
|
Loading…
Reference in New Issue