Skip to content

Commit 481478b

Browse files
committed
Fix build/formatting again.
1 parent 63bbd65 commit 481478b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

llvm/lib/SandboxIR/Function.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ FunctionType *Function::getFunctionType() const {
1919

2020
void Function::setAlignment(MaybeAlign Align) {
2121
Ctx.getTracker()
22-
.emplaceIfTracking<GenericSetter<&Function::getAlign,
23-
&Function::setAlignment>>(this);
24-
cast<llvm::GlobalVariable>(Val)->setAlignment(Align);
22+
.emplaceIfTracking<
23+
GenericSetter<&Function::getAlign, &Function::setAlignment>>(this);
24+
cast<llvm::Function>(Val)->setAlignment(Align);
2525
}
2626

2727
#ifndef NDEBUG

llvm/tools/llvm-reduce/deltas/ReduceGlobalObjects.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ static bool shouldReduceAlign(GlobalVariable *GV) {
1717
return GV->getAlign().has_value();
1818
}
1919

20-
static bool shouldReduceAlign(Function *F) {
21-
return F->getAlign().has_value();
22-
}
20+
static bool shouldReduceAlign(Function *F) { return F->getAlign().has_value(); }
2321

2422
static bool shouldReduceComdat(GlobalObject &GO) { return GO.hasComdat(); }
2523

0 commit comments

Comments
 (0)