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

This reverts commit 5311abc7a2.

jrtc27 included the proper header in 1bd4986e7c
while I was trying to figure out what llvm/clang usually used.
This commit is contained in:
Craig Topper 2021-04-02 12:29:56 -07:00
parent 5311abc7a2
commit be7358df1e
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] = toupper(FeatureStr[0]);
FeatureStr[0] = std::toupper(FeatureStr[0]);
// Error message
FeatureMissing = true;