mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Formatting cleanup to help with next conflicts
This commit is contained in:
@@ -697,7 +697,7 @@ void IRGenModule::emitRuntimeRegistration() {
|
||||
llvm::ConstantInt::get(Int32Ty, 0),
|
||||
};
|
||||
auto begin = llvm::ConstantExpr::getGetElementPtr(
|
||||
protocols->getType()->getPointerElementType(), protocols, beginIndices);
|
||||
protocols->getType()->getPointerElementType(), protocols, beginIndices);
|
||||
llvm::Constant *endIndices[] = {
|
||||
llvm::ConstantInt::get(Int32Ty, 0),
|
||||
llvm::ConstantInt::get(Int32Ty, SwiftProtocols.size()),
|
||||
@@ -725,7 +725,7 @@ void IRGenModule::emitRuntimeRegistration() {
|
||||
auto end = llvm::ConstantExpr::getGetElementPtr(
|
||||
conformances->getType()->getPointerElementType(),
|
||||
conformances, endIndices);
|
||||
|
||||
|
||||
RegIGF.Builder.CreateCall(getRegisterProtocolConformancesFn(), {begin, end});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user