Author: Craig Topper Date: 2021-04-02T12:29:07-07:00 New Revision: 5311abc7a24e4170e5e6d06f1022da87f1413dd7
URL: https://github.com/llvm/llvm-project/commit/5311abc7a24e4170e5e6d06f1022da87f1413dd7 DIFF: https://github.com/llvm/llvm-project/commit/5311abc7a24e4170e5e6d06f1022da87f1413dd7.diff LOG: [RISCV] Try using toupper instead of std::toupper to make the build bots happy. Added: Modified: clang/lib/Sema/SemaChecking.cpp Removed: ################################################################################ diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index 5b534f871bcc..c92c1b5aa3d1 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits