[RISCV] Try using toupper instead of std::toupper to make the build bots happy.
authorCraig Topper <craig.topper@sifive.com>
Fri, 2 Apr 2021 19:28:53 +0000 (12:28 -0700)
committerCraig Topper <craig.topper@sifive.com>
Fri, 2 Apr 2021 19:29:07 +0000 (12:29 -0700)
clang/lib/Sema/SemaChecking.cpp

index 5b534f8..c92c1b5 100644 (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;