clang  8.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 493 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ YAMLVFSWriter()

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

Member Function Documentation

◆ addFileMapping()

void YAMLVFSWriter::addFileMapping ( StringRef  VirtualPath,
StringRef  RealPath 

Definition at line 1912 of file VirtualFileSystem.cpp.

References Parent, and pathHasTraversal().

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

◆ setCaseSensitivity()

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

Definition at line 506 of file VirtualFileSystem.h.

◆ setIgnoreNonExistentContents()

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

Definition at line 514 of file VirtualFileSystem.h.

◆ setOverlayDir()

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

Definition at line 518 of file VirtualFileSystem.h.

◆ setUseExternalNames()

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

Definition at line 510 of file VirtualFileSystem.h.

◆ write()

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

Definition at line 2066 of file VirtualFileSystem.cpp.

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

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