Skip to content

Commit 56314b7

Browse files
committed
Renamed function.
1 parent 24711fd commit 56314b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3089,7 +3089,7 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
30893089
}
30903090
};
30913091

3092-
auto ParseFPAccOption = [&](StringRef Val, bool &NoOffloadFlag) {
3092+
auto parseFPAccOption = [&](StringRef Val, bool &NoOffloadFlag) {
30933093
SmallVector<StringRef, 8> ValuesArr;
30943094
Val.split(ValuesArr, ":");
30953095
if (ValuesArr.size() == 1)
@@ -3210,11 +3210,11 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
32103210
FPAccuracy = Val;
32113211
if (NoOffloadFP32PrecDiv) {
32123212
EmitAccuracyDiag(D, JA, FPAccuracy, "-fno-offload-fp32-prec-div");
3213-
ParseFPAccOption(Val, NoOffloadFP32PrecDiv);
3213+
parseFPAccOption(Val, NoOffloadFP32PrecDiv);
32143214
}
32153215
if (NoOffloadFP32PrecSqrt) {
32163216
EmitAccuracyDiag(D, JA, FPAccuracy, "-fno-offload-fp32-prec-sqrt");
3217-
ParseFPAccOption(Val, NoOffloadFP32PrecSqrt);
3217+
parseFPAccOption(Val, NoOffloadFP32PrecSqrt);
32183218
}
32193219
break;
32203220
}

0 commit comments

Comments
 (0)