[PATCH] D53572: [clangd] Lazily create CDB, remove setCompileCommandsDir.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 23 07:13:51 PDT 2018


sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay, ioeric, ilya-biryukov.

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


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53572

Files:
  clangd/ClangdLSPServer.cpp
  clangd/ClangdLSPServer.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53572.170636.patch
Type: text/x-patch
Size: 5743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181023/fe914362/attachment.bin>


More information about the cfe-commits mailing list