clang 20.0.0git
Public Member Functions | List of all members
clang::SourceManagerForFile Class Reference

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

#include "clang/Basic/SourceManager.h"

Public Member Functions

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

Detailed Description

SourceManager and necessary dependencies (e.g.

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

Definition at line 2019 of file SourceManager.h.

Constructor & Destructor Documentation

◆ SourceManagerForFile()

SourceManagerForFile::SourceManagerForFile ( StringRef  FileName,
StringRef  Content 
)

Creates SourceManager and necessary dependencies (e.g.

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

Definition at line 2367 of file SourceManager.cpp.

References clang::SrcMgr::C_User, and clang::FileName.

Member Function Documentation

◆ get()

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

Definition at line 2025 of file SourceManager.h.


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