Skip to content

Commit 07989af

Browse files
committed
!fix formatting
1 parent 3a3232d commit 07989af

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

llvm/lib/Analysis/ScalarEvolution.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,8 +1274,8 @@ static SCEVUse getUnsignedOverflowLimitForStep(SCEVUse Step,
12741274
namespace {
12751275

12761276
struct ExtendOpTraitsBase {
1277-
typedef SCEVUse (ScalarEvolution:: *GetExtendExprTy)(SCEVUse, Type *,
1278-
unsigned);
1277+
typedef SCEVUse (ScalarEvolution::*GetExtendExprTy)(SCEVUse, Type *,
1278+
unsigned);
12791279
};
12801280

12811281
// Used to make code generic over signed and unsigned overflow.
@@ -2309,8 +2309,8 @@ static bool CollectAddOperandsWithScales(DenseMap<SCEVUse, APInt> &M,
23092309
bool ScalarEvolution::willNotOverflow(Instruction::BinaryOps BinOp, bool Signed,
23102310
SCEVUse LHS, SCEVUse RHS,
23112311
const Instruction *CtxI) {
2312-
SCEVUse (ScalarEvolution:: *Operation)(SCEVUse, SCEVUse, SCEV::NoWrapFlags,
2313-
unsigned);
2312+
SCEVUse (ScalarEvolution::*Operation)(SCEVUse, SCEVUse, SCEV::NoWrapFlags,
2313+
unsigned);
23142314
switch (BinOp) {
23152315
default:
23162316
llvm_unreachable("Unsupported binary op");
@@ -2325,7 +2325,7 @@ bool ScalarEvolution::willNotOverflow(Instruction::BinaryOps BinOp, bool Signed,
23252325
break;
23262326
}
23272327

2328-
SCEVUse (ScalarEvolution:: *Extension)(SCEVUse, Type *, unsigned) =
2328+
SCEVUse (ScalarEvolution::*Extension)(SCEVUse, Type *, unsigned) =
23292329
Signed ? &ScalarEvolution::getSignExtendExpr
23302330
: &ScalarEvolution::getZeroExtendExpr;
23312331

llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ bool InductiveRangeCheck::reassociateSubLHS(
430430
auto getExprScaledIfOverflow = [&](Instruction::BinaryOps BinOp,
431431
const SCEV *LHS,
432432
const SCEV *RHS) -> const SCEV * {
433-
SCEVUse (ScalarEvolution:: *Operation)(SCEVUse, SCEVUse, SCEV::NoWrapFlags,
434-
unsigned);
433+
SCEVUse (ScalarEvolution::*Operation)(SCEVUse, SCEVUse, SCEV::NoWrapFlags,
434+
unsigned);
435435
switch (BinOp) {
436436
default:
437437
llvm_unreachable("Unsupported binary op");

0 commit comments

Comments
 (0)