Skip to content

Commit d92d896

Browse files
committed
run git-clang-format
Signed-off-by: Justin Stitt <[email protected]>
1 parent 8e2e8c2 commit d92d896

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

clang/lib/CodeGen/CGExprScalar.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ struct BinOpInfo {
159159

160160
/// Does the BinaryOperator have the wraps attribute?
161161
/// If so, we can ellide overflow sanitizer checks.
162-
bool hasWrappingOperand() const {
163-
return E->getType().hasWrapsAttr();
164-
}
162+
bool hasWrappingOperand() const { return E->getType().hasWrapsAttr(); }
165163
};
166164

167165
static bool MustVisitNullValue(const Expr *E) {
@@ -4430,7 +4428,8 @@ Value *ScalarExprEmitter::EmitShl(const BinOpInfo &Ops) {
44304428
bool SanitizeSignedBase = CGF.SanOpts.has(SanitizerKind::ShiftBase) &&
44314429
Ops.Ty->hasSignedIntegerRepresentation() &&
44324430
!CGF.getLangOpts().isSignedOverflowDefined() &&
4433-
!CGF.getLangOpts().CPlusPlus20 && !Ops.hasWrappingOperand();
4431+
!CGF.getLangOpts().CPlusPlus20 &&
4432+
!Ops.hasWrappingOperand();
44344433
bool SanitizeUnsignedBase =
44354434
CGF.SanOpts.has(SanitizerKind::UnsignedShiftBase) &&
44364435
Ops.Ty->hasUnsignedIntegerRepresentation();

0 commit comments

Comments
 (0)