Skip to content

Commit 5dc044a

Browse files
committed
Fix formatting
1 parent f9862ac commit 5dc044a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,8 @@ class Sema final {
13481348
bool IsCurrentlyCheckingDefaultArgumentOrInitializer = false;
13491349

13501350
// We are in a constant context, but we also allow
1351-
// non constant expressions, for example for array bounds (which may be VLAs).
1351+
// non constant expressions, for example for array bounds (which may be
1352+
// VLAs).
13521353
bool InConditionallyConstantEvaluateContext = false;
13531354

13541355
// When evaluating immediate functions in the initializer of a default

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)