LLDB  mainline
Public Member Functions | Protected Types | Protected Attributes | List of all members
lldb_private::SourceManager::SourceFileCache Class Reference

#include <SourceManager.h>

Collaboration diagram for lldb_private::SourceManager::SourceFileCache:
Collaboration graph
[legend]

Public Member Functions

 SourceFileCache ()=default
 
 ~SourceFileCache ()=default
 
void AddSourceFile (const FileSP &file_sp)
 
FileSP FindSourceFile (const FileSpec &file_spec) const
 

Protected Types

typedef std::map< FileSpec, FileSPFileCache
 

Protected Attributes

FileCache m_file_cache
 

Detailed Description

Definition at line 107 of file SourceManager.h.

Member Typedef Documentation

◆ FileCache

Definition at line 116 of file SourceManager.h.

Constructor & Destructor Documentation

◆ SourceFileCache()

lldb_private::SourceManager::SourceFileCache::SourceFileCache ( )
default

◆ ~SourceFileCache()

lldb_private::SourceManager::SourceFileCache::~SourceFileCache ( )
default

Member Function Documentation

◆ AddSourceFile()

void SourceManager::SourceFileCache::AddSourceFile ( const FileSP file_sp)

Definition at line 683 of file SourceManager.cpp.

◆ FindSourceFile()

SourceManager::FileSP SourceManager::SourceFileCache::FindSourceFile ( const FileSpec file_spec) const

Definition at line 694 of file SourceManager.cpp.

Member Data Documentation

◆ m_file_cache

FileCache lldb_private::SourceManager::SourceFileCache::m_file_cache
protected

Definition at line 117 of file SourceManager.h.


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