This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Lazily create CDB, remove setCompileCommandsDir.
ClosedPublic

Authored by sammccall on Oct 23 2018, 7:13 AM.

Details

Summary

The only way to actually set the directory is at initialize time,
so now CDB is lazy we can pass it to the constructor.

Diff Detail

Repository
rL LLVM

Event Timeline

sammccall created this revision.Oct 23 2018, 7:13 AM
hokein accepted this revision.Oct 23 2018, 7:21 AM

LGTM

This revision is now accepted and ready to land.Oct 23 2018, 7:21 AM
This revision was automatically updated to reflect the committed changes.