LLVM  10.0.0svn
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 759 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 782 of file VirtualFileSystem.h.

References write().

Referenced by llvm::FileCollector::copyFiles().

◆ setCaseSensitivity()

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

Definition at line 771 of file VirtualFileSystem.h.

Referenced by llvm::FileCollector::writeMapping().

◆ setOverlayDir()

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

Definition at line 777 of file VirtualFileSystem.h.

References llvm::StringRef::str().

Referenced by llvm::FileCollector::writeMapping().

◆ setUseExternalNames()

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

Definition at line 775 of file VirtualFileSystem.h.

Referenced by llvm::FileCollector::writeMapping().

◆ write()

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

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