Skip to content

Commit 177deb4

Browse files
committed
Add a renamed hint to a deprecation warning
1 parent d41cc23 commit 177deb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/LLVM/FunctionType.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public struct FunctionType: IRType {
2121
/// - parameter isVarArg: Indicates whether this function type is variadic.
2222
/// Defaults to `false`.
2323
/// - note: The context of this type is taken from it's `returnType`
24-
@available(*, deprecated, message: "Use the more concise initializer instead")
24+
@available(*, deprecated, message: "Use the more concise initializer instead", renamed: "FunctionType.init(_:_:variadic:)")
2525
public init(argTypes: [IRType], returnType: IRType, isVarArg: Bool = false) {
2626
self.parameterTypes = argTypes
2727
self.returnType = returnType

0 commit comments

Comments
 (0)