[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:
Argyrios Kyrtzidis
2017-05-04 16:53:00 -07:00
parent 0db10e9b60
commit 896c4645df
15 changed files with 302 additions and 8 deletions

View File

@@ -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,