28#include <clang/Frontend/CompilerInstance.h>
29#include <clang/Tooling/CompilationDatabase.h>
30#include <clang/Tooling/Tooling.h>
51 std::unique_ptr<clang::tooling::CompilationDatabase>
base,
73 clang::StringRef FilePath)
const override;
80 std::vector<std::string>
getAllFiles()
const override;
87 std::vector<clang::tooling::CompileCommand>
102 const clang::tooling::CompilationDatabase &
base()
const;
120 bool match_filename(
const clang::tooling::CompileCommand &command,
121 const std::string &file)
const;
124 std::vector<clang::tooling::CompileCommand> &commands)
const;
132 std::unique_ptr<clang::tooling::CompilationDatabase>
base_;