#include ">

clang: lib/Tooling/InterpolatingCompilationDatabase.cpp File Reference (original) (raw)

#include "[clang/Basic/LangStandard.h](LangStandard%5F8h%5Fsource.html)"
#include "[clang/Driver/Driver.h](Driver%5F8h%5Fsource.html)"
#include "[clang/Driver/Options.h](Options%5F8h%5Fsource.html)"
#include "[clang/Driver/Types.h](Driver%5F2Types%5F8h%5Fsource.html)"
#include "[clang/Tooling/CompilationDatabase.h](CompilationDatabase%5F8h%5Fsource.html)"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Option/OptTable.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/StringSaver.h"
#include "llvm/Support/raw_ostream.h"
#include <memory>
#include <optional>

Go to the source code of this file.

Namespaces
namespace clang
The JSON file list parser is used to communicate input to InstallAPI.
namespace clang::tooling
Functions
std::unique_ptr< CompilationDatabase > clang::tooling::inferMissingCompileCommands (std::unique_ptr< CompilationDatabase >)
Returns a wrapped CompilationDatabase that defers to the provided one, but getCompileCommands() will infer commands for unknown files.
tooling::CompileCommand clang::tooling::transferCompileCommand (tooling::CompileCommand, StringRef Filename)
Transforms a compile command so that it applies the same configuration to a different file.

ClangCLMode

Cmd

Std

Type