HomePhabricator

Add ability to load a FixedCompilationDatabase from a buffer.

Authored by sammccall on Dec 4 2020, 12:58 AM.

Description

Add ability to load a FixedCompilationDatabase from a buffer.

Previously, loading one from a file meant allowing the library to do the IO.
Clangd would prefer to do such IO itself (e.g. to allow caching).

Differential Revision: https://reviews.llvm.org/D92640