clang 17.0.0git
Classes | Namespaces | Functions
CompilerInvocation.h File Reference
#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>
Include dependency graph for CompilerInvocation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::CompilerInvocationRefBase
 The base class of CompilerInvocation with reference semantics. More...
 
class  clang::CompilerInvocationValueBase
 The base class of CompilerInvocation with value semantics. More...
 
class  clang::CompilerInvocation
 Helper class for holding the data necessary to invoke the compiler. More...
 

Namespaces

namespace  llvm
 YAML serialization mapping.
 
namespace  llvm::opt
 
namespace  llvm::vfs
 
namespace  clang
 

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)