Skip to content

Commit f9862ac

Browse files
committed
Address Shafik's feedback
1 parent c94d2b0 commit f9862ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Sema/SemaChecking.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14178,7 +14178,7 @@ static void AnalyzeComparison(Sema &S, BinaryOperator *E) {
1417814178
// Otherwise, calculate the effective range of the signed operand.
1417914179
IntRange signedRange =
1418014180
GetExprRange(S.Context, signedOperand, S.isConstantEvaluatedContext(),
14181-
/*Approximate*/ true);
14181+
/*Approximate=*/ true);
1418214182

1418314183
// Go ahead and analyze implicit conversions in the operands. Note
1418414184
// that we skip the implicit conversions on both sides.
@@ -14197,7 +14197,7 @@ static void AnalyzeComparison(Sema &S, BinaryOperator *E) {
1419714197
unsigned comparisonWidth = S.Context.getIntWidth(T);
1419814198
IntRange unsignedRange =
1419914199
GetExprRange(S.Context, unsignedOperand, S.isConstantEvaluatedContext(),
14200-
/*Approximate*/ true);
14200+
/*Approximate=*/ true);
1420114201

1420214202
// We should never be unable to prove that the unsigned operand is
1420314203
// non-negative.
@@ -15126,7 +15126,7 @@ static void CheckImplicitConversion(Sema &S, Expr *E, QualType T,
1512615126
// Determine the number of precision bits in the source integer type.
1512715127
IntRange SourceRange =
1512815128
GetExprRange(S.Context, E, S.isConstantEvaluatedContext(),
15129-
/*Approximate*/ true);
15129+
/*Approximate=*/ true);
1513015130
unsigned int SourcePrecision = SourceRange.Width;
1513115131

1513215132
// Determine the number of precision bits in the

0 commit comments

Comments
 (0)