[PATCH] D39843: [clangd] Use in-memory preambles in clangd.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 9 08:04:51 PST 2017

sammccall added a comment.

Heh, I was just going to ask :-)

As a very first step, can we make this configurable but off-by-default? That will address the pressing diskless-servers need.

In a typical workstation scenario, disk is plentiful (if slow) and RAM is scarce - very likely we're running browser + editor (VSCode is another browser really) + clangd + build system, and clangd is likely the least important of these...
So if we're going to increase mem usage by a significant amount I think we want to measure it carefully first.


More information about the cfe-commits mailing list