LLVM  8.0.1
Public Member Functions | List of all members
llvm::vfs::YAMLVFSWriter Class Reference

#include "llvm/Support/VirtualFileSystem.h"

Public Member Functions

 YAMLVFSWriter ()=default
 
void addFileMapping (StringRef VirtualPath, StringRef RealPath)
 
void setCaseSensitivity (bool CaseSensitive)
 
void setUseExternalNames (bool UseExtNames)
 
void setOverlayDir (StringRef OverlayDirectory)
 
const std::vector< YAMLVFSEntry > & getMappings () const
 
void write (llvm::raw_ostream &OS)
 

Detailed Description

Definition at line 733 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ YAMLVFSWriter()

llvm::vfs::YAMLVFSWriter::YAMLVFSWriter ( )
default

Member Function Documentation

◆ addFileMapping()

void YAMLVFSWriter::addFileMapping ( StringRef  VirtualPath,
StringRef  RealPath 
)

◆ getMappings()

const std::vector<YAMLVFSEntry>& llvm::vfs::YAMLVFSWriter::getMappings ( ) const
inline

Definition at line 756 of file VirtualFileSystem.h.

References write().

◆ setCaseSensitivity()

void llvm::vfs::YAMLVFSWriter::setCaseSensitivity ( bool  CaseSensitive)
inline

Definition at line 745 of file VirtualFileSystem.h.

◆ setOverlayDir()

void llvm::vfs::YAMLVFSWriter::setOverlayDir ( StringRef  OverlayDirectory)
inline

Definition at line 751 of file VirtualFileSystem.h.

References llvm::StringRef::str().

◆ setUseExternalNames()

void llvm::vfs::YAMLVFSWriter::setUseExternalNames ( bool  UseExtNames)
inline

Definition at line 749 of file VirtualFileSystem.h.

◆ write()

void YAMLVFSWriter::write ( llvm::raw_ostream OS)

Definition at line 1956 of file VirtualFileSystem.cpp.

References llvm::sort(), and llvm::vfs::YAMLVFSEntry::VPath.


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