LLVM  12.0.0git
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 addDirectoryMapping (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 769 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ YAMLVFSWriter()

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

Member Function Documentation

◆ addDirectoryMapping()

void YAMLVFSWriter::addDirectoryMapping ( StringRef  VirtualPath,
StringRef  RealPath 

◆ addFileMapping()

void YAMLVFSWriter::addFileMapping ( StringRef  VirtualPath,
StringRef  RealPath 

Definition at line 1923 of file VirtualFileSystem.cpp.

◆ getMappings()

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

Definition at line 795 of file VirtualFileSystem.h.

References Mappings, and write().

◆ setCaseSensitivity()

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

Definition at line 784 of file VirtualFileSystem.h.

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

◆ setOverlayDir()

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

Definition at line 790 of file VirtualFileSystem.h.

References llvm::StringRef::str().

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

◆ setUseExternalNames()

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

Definition at line 788 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: