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

Public Member Functions

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

Protected Types

typedef std::map< FileSpec, FileSPFileCache

Protected Attributes

FileCache m_file_cache

Detailed Description

Definition at line 97 of file SourceManager.h.

Member Typedef Documentation

◆ FileCache

Definition at line 109 of file SourceManager.h.

Constructor & Destructor Documentation

◆ SourceFileCache()

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

◆ ~SourceFileCache()

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

Member Function Documentation

◆ AddSourceFile()

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

Definition at line 716 of file SourceManager.cpp.

◆ Clear()

void lldb_private::SourceManager::SourceFileCache::Clear ( )

◆ FindSourceFile()

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

Definition at line 727 of file SourceManager.cpp.

Member Data Documentation

◆ m_file_cache

FileCache lldb_private::SourceManager::SourceFileCache::m_file_cache

Definition at line 110 of file SourceManager.h.

Referenced by Clear().

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