clang 18.0.0git
Classes | Namespaces | Typedefs | Enumerations | Functions
Driver.h File Reference
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/HeaderInclude.h"
#include "clang/Basic/LLVM.h"
#include "clang/Driver/Action.h"
#include "clang/Driver/DriverDiagnostic.h"
#include "clang/Driver/InputInfo.h"
#include "clang/Driver/Options.h"
#include "clang/Driver/Phases.h"
#include "clang/Driver/ToolChain.h"
#include "clang/Driver/Types.h"
#include "clang/Driver/Util.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/StringSaver.h"
#include <list>
#include <map>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  clang::driver::Driver
 Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like command line arguments. More...
 
struct  clang::driver::Driver::CompilationDiagnosticReport
 Contains the files in the compilation diagnostic report generated by generateCompilationDiagnostics. More...
 

Namespaces

namespace  llvm
 YAML serialization mapping.
 
namespace  llvm::vfs
 
namespace  llvm::cl
 
namespace  clang
 
namespace  clang::driver
 

Typedefs

typedef SmallVector< InputInfo, 4 > clang::driver::InputInfoList
 

Enumerations

enum  clang::driver::LTOKind { clang::driver::LTOK_None , clang::driver::LTOK_Full , clang::driver::LTOK_Thin , clang::driver::LTOK_Unknown }
 Describes the kind of LTO mode selected via -f(no-)?lto(=.*)? options. More...
 
enum  clang::driver::ModuleHeaderMode { clang::driver::HeaderMode_None , clang::driver::HeaderMode_Default , clang::driver::HeaderMode_User , clang::driver::HeaderMode_System }
 Whether headers used to construct C++20 module units should be looked up by the path supplied on the command line, or in the user or system search paths. More...
 

Functions

bool clang::driver::isOptimizationLevelFast (const llvm::opt::ArgList &Args)
 
bool clang::driver::willEmitRemarks (const llvm::opt::ArgList &Args)
 
llvm::StringRef clang::driver::getDriverMode (StringRef ProgName, ArrayRef< const char * > Args)
 Returns the driver mode option's value, i.e.
 
bool clang::driver::IsClangCL (StringRef DriverMode)
 Checks whether the value produced by getDriverMode is for CL mode.
 
llvm::Error clang::driver::expandResponseFiles (SmallVectorImpl< const char * > &Args, bool ClangCLMode, llvm::BumpPtrAllocator &Alloc, llvm::vfs::FileSystem *FS=nullptr)
 Expand response files from a clang driver or cc1 invocation.