clang 19.0.0git
Namespaces | Functions
InterpolatingCompilationDatabase.cpp File Reference
#include "clang/Basic/LangStandard.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/Options.h"
#include "clang/Driver/Types.h"
#include "clang/Tooling/CompilationDatabase.h"
#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.
 

Variable Documentation

◆ ClangCLMode

bool ClangCLMode

◆ Cmd

CompileCommand Cmd

◆ Std

LangStandard::Kind Std = LangStandard::lang_unspecified

◆ Type

std::optional<types::ID> Type

Definition at line 131 of file InterpolatingCompilationDatabase.cpp.