Parse replacement
parameter of __attribute__((deprecated(...))
#1072
Labels
replacement
parameter of __attribute__((deprecated(...))
#1072
#843 covered parsing the
message
parameter of thedeprecated
__attribute__
, but clang/Xcode also support a second argument namedreplacement
, which takes a method/property signature and prompts the developer via fix-it in Xcode.If there’s sourcekit(ten) support for
replacement
, it would be ideal to include the specified replacement and linkify it.Example usage:
Would result in jazzy output similar to:
The text was updated successfully, but these errors were encountered: