ΒΆstd::unique_ptr<CompilationDatabase>
inferMissingCompileCommands(
    std::unique_ptr<CompilationDatabase>)

Description

Returns a wrapped CompilationDatabase that defers to the provided one, but getCompileCommands() will infer commands for unknown files. The return value of getAllFiles() or getAllCompileCommands() is unchanged. See InterpolatingCompilationDatabase.cpp for details on heuristics.

Declared at: clang/include/clang/Tooling/CompilationDatabase.h:229

Parameters

std::unique_ptr<CompilationDatabase>