[RISCV] Try using toupper instead of std::toupper to make the build bots happy.

This commit is contained in:
Craig Topper 2021-04-02 12:28:53 -07:00
parent 1bd4986e7c
commit 5311abc7a2
1 changed files with 1 additions and 1 deletions

View File

@ -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;