mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[gardening] Put white spaces in between if/while clauses and braces where it is missing.
For instance:
'if (foo){' => 'if (foo) {'
This commit is contained in:
@@ -371,7 +371,7 @@ static SILInstruction* findUnexpectedBoxUse(SILValue Box,
|
||||
|
||||
/// canPromoteAllocBox - Can we promote this alloc_box to an alloc_stack?
|
||||
static bool canPromoteAllocBox(AllocBoxInst *ABI,
|
||||
llvm::SmallVectorImpl<Operand *> &PromotedOperands){
|
||||
llvm::SmallVectorImpl<Operand *> &PromotedOperands) {
|
||||
// Scan all of the uses of the address of the box to see if any
|
||||
// disqualifies the box from being promoted to the stack.
|
||||
if (auto *User = findUnexpectedBoxUse(ABI,
|
||||
|
||||
Reference in New Issue
Block a user