clang  6.0.0svn
Public Member Functions | List of all members
clang::vfs::YAMLVFSWriter Class Reference

#include "clang/Basic/VirtualFileSystem.h"

Public Member Functions

 YAMLVFSWriter ()=default
 
void addFileMapping (StringRef VirtualPath, StringRef RealPath)
 
void setCaseSensitivity (bool CaseSensitive)
 
void setUseExternalNames (bool UseExtNames)
 
void setIgnoreNonExistentContents (bool IgnoreContents)
 
void setOverlayDir (StringRef OverlayDirectory)
 
void write (llvm::raw_ostream &OS)
 

Detailed Description

Definition at line 389 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ YAMLVFSWriter()

clang::vfs::YAMLVFSWriter::YAMLVFSWriter ( )
default

Member Function Documentation

◆ addFileMapping()

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

Definition at line 1665 of file VirtualFileSystem.cpp.

References Parent, and pathHasTraversal().

Referenced by clang::ModuleDependencyCollector::addFileMapping().

◆ setCaseSensitivity()

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

Definition at line 402 of file VirtualFileSystem.h.

◆ setIgnoreNonExistentContents()

void clang::vfs::YAMLVFSWriter::setIgnoreNonExistentContents ( bool  IgnoreContents)
inline

Definition at line 410 of file VirtualFileSystem.h.

◆ setOverlayDir()

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

Definition at line 414 of file VirtualFileSystem.h.

◆ setUseExternalNames()

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

Definition at line 406 of file VirtualFileSystem.h.

◆ write()

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

Definition at line 1814 of file VirtualFileSystem.cpp.

References Begin, and clang::vfs::YAMLVFSEntry::VPath.


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