Skip to content

Commit dbc2031

Browse files
toppercmemfrob
authored andcommitted
[RISCV] Try using toupper instead of std::toupper to make the build bots happy.
1 parent ac5263e commit dbc2031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaChecking.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3428,7 +3428,7 @@ bool Sema::CheckRISCVBuiltinFunctionCall(const TargetInfo &TI,
34283428
// Convert features like "zbr" and "experimental-zbr" to "Zbr".
34293429
I.consume_front("experimental-");
34303430
std::string FeatureStr = I.str();
3431-
FeatureStr[0] = std::toupper(FeatureStr[0]);
3431+
FeatureStr[0] = toupper(FeatureStr[0]);
34323432

34333433
// Error message
34343434
FeatureMissing = true;

0 commit comments

Comments
 (0)