mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 11:01:57 +00:00
Add TODO
This commit is contained in:
parent
bd8582e718
commit
511bbbe391
@ -438,6 +438,10 @@ void CompletionQueryMain(ClangCompleteManager* completion_manager) {
|
|||||||
|
|
||||||
// Emit diagnostics.
|
// Emit diagnostics.
|
||||||
if (request->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();
|
timer.Reset();
|
||||||
clang_reparseTranslationUnit(
|
clang_reparseTranslationUnit(
|
||||||
session->tu->cx_tu, unsaved.size(), unsaved.data(),
|
session->tu->cx_tu, unsaved.size(), unsaved.data(),
|
||||||
|
Loading…
Reference in New Issue
Block a user