mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Swift SIL: rename parent accessors to parentX, e.g. Instruction.parentBlock
It makes it easier to read
This commit is contained in:
@@ -93,7 +93,7 @@ struct FunctionUses {
|
||||
result += "<unknown uses>\n"
|
||||
}
|
||||
for inst in self {
|
||||
result += "@\(inst.function.name): \(inst)\n"
|
||||
result += "@\(inst.parentFunction.name): \(inst)\n"
|
||||
|
||||
}
|
||||
result += "]"
|
||||
|
||||
Reference in New Issue
Block a user