mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Attach diagnostic ids to SourceKit's diagnostics
This commit is contained in:
@@ -100,6 +100,8 @@ void EditorDiagConsumer::handleDiagnostic(SourceManager &SM,
|
||||
|
||||
DiagnosticEntryInfo SKInfo;
|
||||
|
||||
SKInfo.ID = DiagnosticEngine::diagnosticIDStringFor(Info.ID).str();
|
||||
|
||||
// Actually substitute the diagnostic arguments into the diagnostic text.
|
||||
llvm::SmallString<256> Text;
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user