This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Reuse compile commands during reparse
ClosedPublic

Authored by krasimir on Jul 25 2017, 2:25 AM.

Details

Summary

Previously we always queried the compilation database and discarded the results
if the file was already opened.

Diff Detail

Repository
rL LLVM

Event Timeline

krasimir created this revision.Jul 25 2017, 2:25 AM
ilya-biryukov added inline comments.Jul 25 2017, 2:38 AM
clangd/ClangdUnit.cpp
248 ↗(On Diff #108023)

Also have to call it in codeComplete.

krasimir updated this revision to Diff 108033.Jul 25 2017, 2:54 AM
  • Address review comment
krasimir marked an inline comment as done.Jul 25 2017, 2:55 AM
This revision is now accepted and ready to land.Jul 25 2017, 3:03 AM
This revision was automatically updated to reflect the committed changes.