mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SourceKit] Accept swift_version in requests and use to set the swift version for interface generation of an ObjC header
rdar://31432960
This commit is contained in:
@@ -443,7 +443,8 @@ public:
|
||||
StringRef Name,
|
||||
StringRef HeaderName,
|
||||
ArrayRef<const char *> Args,
|
||||
bool SynthesizedExtensions) = 0;
|
||||
bool SynthesizedExtensions,
|
||||
Optional<unsigned> swiftVersion) = 0;
|
||||
|
||||
virtual void editorOpenSwiftSourceInterface(StringRef Name,
|
||||
StringRef SourceName,
|
||||
|
||||
Reference in New Issue
Block a user