mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 17:11:59 +00:00
Display diagnostics from header files
This commit is contained in:
parent
a96d9613f4
commit
b6375de2f3
@ -604,7 +604,7 @@ void DiagnosticQueryMain(ClangCompleteManager* completion_manager) {
|
||||
if (diagnostic && diagnostic->range.start.line >= 0)
|
||||
ls_diagnostics.push_back(*diagnostic);
|
||||
}
|
||||
completion_manager->on_diagnostic_(session->file.filename, ls_diagnostics);
|
||||
completion_manager->on_diagnostic_(path, ls_diagnostics);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user