mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 17:11:59 +00:00
Add TODO
This commit is contained in:
parent
bd8582e718
commit
511bbbe391
@ -438,6 +438,10 @@ void CompletionQueryMain(ClangCompleteManager* completion_manager) {
|
||||
|
||||
// Emit diagnostics.
|
||||
if (request->emit_diagnostics) {
|
||||
// TODO: before emitting diagnostics check if we have another completion
|
||||
// request and think about servicing that first, because it may be much
|
||||
// faster than reparsing the document.
|
||||
|
||||
timer.Reset();
|
||||
clang_reparseTranslationUnit(
|
||||
session->tu->cx_tu, unsaved.size(), unsaved.data(),
|
||||
|
Loading…
Reference in New Issue
Block a user