forked from OSchip/llvm-project
[RISCV] Try using toupper instead of std::toupper to make the build bots happy.
This commit is contained in:
parent
1bd4986e7c
commit
5311abc7a2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue