clang  9.0.0svn
Public Member Functions | List of all members
clang::SourceManagerForFile Class Reference

SourceManager and necessary depdencies (e.g. More...

#include "clang/Basic/SourceManager.h"

Public Member Functions

 SourceManagerForFile (StringRef FileName, StringRef Content)
 Creates SourceManager and necessary depdencies (e.g. More...
 
SourceManagerget ()
 

Detailed Description

SourceManager and necessary depdencies (e.g.

VFS, FileManager) for a single in-memorty file.

Definition at line 1854 of file SourceManager.h.

Constructor & Destructor Documentation

◆ SourceManagerForFile()

SourceManagerForFile::SourceManagerForFile ( StringRef  FileName,
StringRef  Content 
)

Creates SourceManager and necessary depdencies (e.g.

VFS, FileManager). The main file in the SourceManager will be FileName with Content.

Definition at line 2247 of file SourceManager.cpp.

References clang::SrcMgr::C_User, and clang::FileManager::getFile().

Member Function Documentation

◆ get()

SourceManager& clang::SourceManagerForFile::get ( )
inline

Definition at line 1860 of file SourceManager.h.


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