clang 20.0.0git
|
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/VirtualFileSystem.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
struct | clang::tooling::CompileCommand |
Specifies the working directory and command of a compilation. More... | |
class | clang::tooling::CompilationDatabase |
Interface for compilation databases. More... | |
class | clang::tooling::FixedCompilationDatabase |
A compilation database that returns a single compile command line. More... | |
Namespaces | |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
namespace | clang::tooling |
Functions | |
tooling::CompileCommand | clang::tooling::transferCompileCommand (tooling::CompileCommand, StringRef Filename) |
Transforms a compile command so that it applies the same configuration to a different file. | |
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. | |
std::unique_ptr< CompilationDatabase > | clang::tooling::inferTargetAndDriverMode (std::unique_ptr< CompilationDatabase > Base) |
Returns a wrapped CompilationDatabase that will add -target and -mode flags to commandline when they can be deduced from argv[0] of commandline returned by underlying database. | |
std::unique_ptr< CompilationDatabase > | clang::tooling::inferToolLocation (std::unique_ptr< CompilationDatabase > Base) |
Returns a wrapped CompilationDatabase that will transform argv[0] to an absolute path, if it currently is a plain tool name, looking it up in PATH. | |
std::unique_ptr< CompilationDatabase > | clang::tooling::expandResponseFiles (std::unique_ptr< CompilationDatabase > Base, llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem > FS) |
Returns a wrapped CompilationDatabase that will expand all rsp(response) files on commandline returned by underlying database. | |