Skip to content

Commit ae7c4f9

Browse files
committed
clang-format
1 parent cb86c3c commit ae7c4f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,8 +1244,8 @@ CodeGenFunction::emitBuiltinObjectSize(const Expr *E, unsigned Type,
12441244
// it's set, a closest surrounding subobject is considered the object a
12451245
// pointer points to.
12461246
Value *WholeObj = Builder.getInt1((Type & 1) == 0);
1247-
return Builder.CreateCall(F, {Ptr, Min, NullIsUnknown, Dynamic, WholeObj,
1248-
SubobjectSize});
1247+
return Builder.CreateCall(
1248+
F, {Ptr, Min, NullIsUnknown, Dynamic, WholeObj, SubobjectSize});
12491249
}
12501250

12511251
namespace {

clang/lib/CodeGen/CGExpr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,8 +750,8 @@ void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc,
750750
llvm::Value *WholeObj = Builder.getTrue();
751751
llvm::Value *SubobjectSize = Builder.getInt64(0);
752752
llvm::Value *LargeEnough = Builder.CreateICmpUGE(
753-
Builder.CreateCall(F, {Ptr, Min, NullIsUnknown, Dynamic, WholeObj,
754-
SubobjectSize}),
753+
Builder.CreateCall(
754+
F, {Ptr, Min, NullIsUnknown, Dynamic, WholeObj, SubobjectSize}),
755755
Size);
756756
Checks.push_back(std::make_pair(LargeEnough, SanitizerKind::ObjectSize));
757757
}

0 commit comments

Comments
 (0)