Owen Voorhees
8a6711769e
[Diagnostics] Refactor DiagnosticConsumer interface
...
DiagnosticInfo now holds all the information needed to consume
a diagnostic, so remove unneeded parameters from handleDiagnostic.
2019-10-29 13:52:12 -07:00
David Ungar
a17094baa5
add swift::
2019-04-03 19:50:59 -07:00
David Ungar
9cc3a4a9d8
Rename defaultDiagnosticLoc to bufferIndirectlyCausingDiagnostic.
2019-04-03 12:52:49 -07:00
David Ungar
c139c5909a
Pass defaultDiagnosticLoc to handleDiagnostic, not currentPrimaryInput.
2019-04-02 22:27:55 -07:00
David Ungar
c90d9e69b6
Format
2019-04-02 00:43:59 -07:00
David Ungar
7a0e0ffc8a
Store current primary in diagnostic engine, pass it down via handleDiagnostic. Unformmated.
2019-04-02 00:43:28 -07:00
Ben Langmuir
969f0f41f4
[sourcekitd] Capture diagnostics with invalid locations for compile notifications
...
Stop filtering out diagnostics with invalid locations in the editor
diagnostic consumer, and instead capture them separately so that we can
include them in did-compile notifications.
rdar://39225000
2018-04-06 11:36:01 -07:00
Ben Langmuir
cc51a8778f
[sourcekitd] Remove dead method for checking invalid loc diagnostics
2018-04-05 16:02:32 -07:00
Ben Langmuir
b78987a8c5
[sourcekit] Add diagnostics to compile notification callback
...
Compilations can now pass captured diagnostics as part of the
did-compile notification, and this was added to the SwiftASTManager.
rdar://38438512
2018-03-30 16:07:51 -07:00
Maxwell Swadling
93d485e4f7
Changed handleDiagnostic to take a format string and format args instead of the formatted string
...
This allows diagnostic consumers to modify the way formatting of diagnostics is performed.
rdar://problem/31305854
2017-04-14 11:28:04 -07:00
practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
practicalswift
9d0b2abfc2
[gardening] Normalize end-of-namespace comments
2016-12-17 22:29:07 +01:00
practicalswift
797b80765f
[gardening] Use the correct base URL ( https://swift.org ) in references to the Swift website
...
Remove all references to the old non-TLS enabled base URL (http://swift.org )
2016-11-20 17:36:03 +01:00
practicalswift
50baf2e53b
Use consistent formatting in top of file headers.
2016-01-04 02:17:48 +01:00
Zach Panzarino
e3a4147ac9
Update copyright date
2015-12-31 23:28:40 +00:00
Argyrios Kyrtzidis
d19e4ae026
[SourceKit] Add license notices to all the source files.
2015-11-05 12:01:14 -08: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