clang 22.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< ModuleDependencyCollector > ModuleDepCollector=nullptr)
IntrusiveRefCntPtr< llvm::vfs::FileSystem > getVFS () const
DiagnosticConsumergetDiagConsumer () const
std::shared_ptr< ModuleDependencyCollectorgetModuleDepCollector () const

Detailed Description

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

Definition at line 839 of file CompilerInstance.h.

Constructor & Destructor Documentation

◆ ThreadSafeCloneConfig()

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

Definition at line 845 of file CompilerInstance.h.

Member Function Documentation

◆ getDiagConsumer()

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

Definition at line 855 of file CompilerInstance.h.

◆ getModuleDepCollector()

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

Definition at line 856 of file CompilerInstance.h.

◆ getVFS()

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

Definition at line 854 of file CompilerInstance.h.


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