Commit Graph

2 Commits

Author SHA1 Message Date
Nikolai Kosjar
1c7fb225db Clang: Add one more test for SendDocumentTracker
Ensure that the document is not send with initial values. In that case,
the document was just loaded and has not any modified content yet.

Change-Id: I67ee8dcffe20779ef8294cf2668d0974b44f5bbb
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-09-30 14:44:09 +00:00
Marco Bubke
b412eb81ea Clang: Add revision and completion management
Reparsing a document is expensive so we should avoid it by all means. In
this patch we prevent that the same document is send again. It isn't send
too in advance of a code completion if there was no changes before the
the completion position.

Change-Id: I0bb786ba1d4e7ce08611a518cb32f8cf8f4d0037
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-09-28 15:46:15 +00:00