clang 23.0.0git
clang::CompilerInstance::ThreadSafeCloneConfig Class Reference

Configuration object for making the result of cloneForModuleCompile() thread-safe. More...

#include "clang/Frontend/CompilerInstance.h"

Public Member Functions

 ThreadSafeCloneConfig (IntrusiveRefCntPtr< llvm::vfs::FileSystem > VFS, DiagnosticConsumer &DiagConsumer, std::shared_ptr< ModuleCache > ModCache, std::shared_ptr< ModuleDependencyCollector > ModuleDepCollector=nullptr)
IntrusiveRefCntPtr< llvm::vfs::FileSystem > getVFS () const
DiagnosticConsumergetDiagConsumer () const
std::shared_ptr< ModuleCachegetModuleCache () const
std::shared_ptr< ModuleDependencyCollectorgetModuleDepCollector () const

Detailed Description

Configuration object for making the result of cloneForModuleCompile() thread-safe.

Definition at line 880 of file CompilerInstance.h.

Constructor & Destructor Documentation

◆ ThreadSafeCloneConfig()

clang::CompilerInstance::ThreadSafeCloneConfig::ThreadSafeCloneConfig ( IntrusiveRefCntPtr< llvm::vfs::FileSystem > VFS,
DiagnosticConsumer & DiagConsumer,
std::shared_ptr< ModuleCache > ModCache,
std::shared_ptr< ModuleDependencyCollector > ModuleDepCollector = nullptr )
inline

Definition at line 887 of file CompilerInstance.h.

Member Function Documentation

◆ getDiagConsumer()

DiagnosticConsumer & clang::CompilerInstance::ThreadSafeCloneConfig::getDiagConsumer ( ) const
inline

Definition at line 899 of file CompilerInstance.h.

◆ getModuleCache()

std::shared_ptr< ModuleCache > clang::CompilerInstance::ThreadSafeCloneConfig::getModuleCache ( ) const
inline

Definition at line 900 of file CompilerInstance.h.

◆ getModuleDepCollector()

std::shared_ptr< ModuleDependencyCollector > clang::CompilerInstance::ThreadSafeCloneConfig::getModuleDepCollector ( ) const
inline

Definition at line 901 of file CompilerInstance.h.

◆ getVFS()

IntrusiveRefCntPtr< llvm::vfs::FileSystem > clang::CompilerInstance::ThreadSafeCloneConfig::getVFS ( ) const
inline

Definition at line 898 of file CompilerInstance.h.


The documentation for this class was generated from the following file: