[all-commits] [llvm/llvm-project] a1cb9c: Add ability to load a FixedCompilationDatabase fro...

Sam McCall via All-commits all-commits at lists.llvm.org
Mon Dec 7 04:07:32 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1cb9cbf5c4939e78a6c3b3677cf8e3dbdf51932
      https://github.com/llvm/llvm-project/commit/a1cb9cbf5c4939e78a6c3b3677cf8e3dbdf51932
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M clang/include/clang/Tooling/CompilationDatabase.h
    M clang/lib/Tooling/CompilationDatabase.cpp
    M clang/unittests/Tooling/CompilationDatabaseTest.cpp

  Log Message:
  -----------
  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




More information about the All-commits mailing list