Commit Graph

6 Commits

Author SHA1 Message Date
Hamish Knight
69f2e26d35 [SourceKit] Cancel in-flight builds on editor.close
When closing a document, cancel any in-flight
builds happening for it.

rdar://127126348
2024-04-30 12:00:27 +01:00
Saleem Abdulrasool
2b45eb9575 SourceKit: simplify and modernise CMake for tests
Use `target_compile_definitions` to fix the quoting.  This is particularly
important when running under a non-sh shell (e.g. Windows) where the quoting
rules are different.
2019-01-23 09:52:41 -08:00
Bob Wilson
390058972a [master-next] Use PRIVATE in target_link_libraries for executables
This is needed to work with LLVM r319840.
2017-12-06 21:55:22 -08:00
Argyrios Kyrtzidis
0cfc56ec04 [SourceKit] If diagnostics are 'stale' for a particular snapshot then ignore them and only return the syntactic parser diagnostics (#10388)
This makes sure that diagnostics returned for a particular state of source buffer are consistent and accurate.
rdar://32769873
2017-06-20 12:26:32 -07:00
Doug Coleman
3ec4bb0ec0 cmake: Disable SourceKit Swiflang unittests on embedded darwin platforms.
rdar://problem/31684653
2017-05-05 13:55:07 -07:00
Argyrios Kyrtzidis
8ff6a98a99 [sourcekit] Merge SourceKit into the Swift repo.
The code goes into its own sub-tree under 'tools' but tests go under 'test',
so that running 'check-swift' will also run all the SourceKit tests.

SourceKit is disabled on non-darwin platforms.
2015-11-05 01:09:08 -08:00