clang 20.0.0git
Classes | Namespaces | Functions
CompilerInvocation.h File Reference
#include "clang/APINotes/APINotesOptions.h"
#include "clang/Basic/CodeGenOptions.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/FileSystemOptions.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/LangStandard.h"
#include "clang/Frontend/DependencyOutputOptions.h"
#include "clang/Frontend/FrontendOptions.h"
#include "clang/Frontend/MigratorOptions.h"
#include "clang/Frontend/PreprocessorOutputOptions.h"
#include "clang/StaticAnalyzer/Core/AnalyzerOptions.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/ArrayRef.h"
#include <memory>
#include <string>

Go to the source code of this file.

Classes

class  clang::CompilerInvocationBase
 The base class of CompilerInvocation. More...
 
struct  clang::CompilerInvocationBase::EmptyConstructor
 Dummy tag type whose instance can be passed into the constructor to prevent creation of the reference-counted option objects. More...
 
class  clang::CompilerInvocation
 Helper class for holding the data necessary to invoke the compiler. More...
 
class  clang::CowCompilerInvocation
 Same as CompilerInvocation, but with copy-on-write optimization. More...
 

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
 
namespace  llvm::opt
 
namespace  llvm::vfs
 
namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Functions

std::unique_ptr< DiagnosticOptionsclang::CreateAndPopulateDiagOpts (ArrayRef< const char * > Argv)
 
bool clang::ParseDiagnosticArgs (DiagnosticOptions &Opts, llvm::opt::ArgList &Args, DiagnosticsEngine *Diags=nullptr, bool DefaultDiagColor=true)
 Fill out Opts based on the options given in Args.
 
IntrusiveRefCntPtr< llvm::vfs::FileSystem > clang::createVFSFromCompilerInvocation (const CompilerInvocation &CI, DiagnosticsEngine &Diags)
 
IntrusiveRefCntPtr< llvm::vfs::FileSystem > clang::createVFSFromCompilerInvocation (const CompilerInvocation &CI, DiagnosticsEngine &Diags, IntrusiveRefCntPtr< llvm::vfs::FileSystem > BaseFS)
 
IntrusiveRefCntPtr< llvm::vfs::FileSystem > clang::createVFSFromOverlayFiles (ArrayRef< std::string > VFSOverlayFiles, DiagnosticsEngine &Diags, IntrusiveRefCntPtr< llvm::vfs::FileSystem > BaseFS)