[PATCH] D40733: [clangd] GlobalCompilationDatabase interface changes

2017-12-04 Thread Sam McCall via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL319647: [clangd] GlobalCompilationDatabase interface changes (authored by sammccall). Changed prior to commit: https://reviews.llvm.org/D40733?vs=125151&id=125303#toc Repository: rL LLVM https://rev

[PATCH] D40733: [clangd] GlobalCompilationDatabase interface changes

2017-12-04 Thread Haojian Wu via Phabricator via cfe-commits
hokein accepted this revision. hokein added a comment. This revision is now accepted and ready to land. LGTM. Comment at: clangd/ClangdUnitStore.cpp:67 // FIXME: Don't overwrite it if it's already there. - Commands.front().CommandLine.push_back("-resource-dir=" + -

[PATCH] D40733: [clangd] GlobalCompilationDatabase interface changes

2017-12-01 Thread Sam McCall via Phabricator via cfe-commits
sammccall created this revision. Herald added subscribers: cfe-commits, klimek. - GlobalCompilationDatabase now returns a single command (that's all we use) - fallback flags are now part of the GlobalCompilationDatabase. There's a default implementation that they can optionally customize. - this