LLVM API Documentation

Path.h File Reference

#include "llvm/System/TimeValue.h"
#include <set>
#include <string>
#include <vector>
#include <iosfwd>

Include dependency graph for Path.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm
namespace  llvm::sys

Classes

class  llvm::sys::FileStatus
 File status structure. More...
class  llvm::sys::Path
 An abstraction for operating system paths. More...
class  llvm::sys::PathWithStatus
 Path with file status class. More...

Enumerations

enum  llvm::sys::LLVMFileType {
  llvm::sys::Unknown_FileType = 0, llvm::sys::Bitcode_FileType, llvm::sys::Archive_FileType, llvm::sys::ELF_Relocatable_FileType,
  llvm::sys::ELF_Executable_FileType, llvm::sys::ELF_SharedObject_FileType, llvm::sys::ELF_Core_FileType, llvm::sys::Mach_O_Object_FileType,
  llvm::sys::Mach_O_Executable_FileType, llvm::sys::Mach_O_FixedVirtualMemorySharedLib_FileType, llvm::sys::Mach_O_Core_FileType, llvm::sys::Mach_O_PreloadExectuable_FileType,
  llvm::sys::Mach_O_DynamicallyLinkedSharedLib_FileType, llvm::sys::Mach_O_DynamicLinker_FileType, llvm::sys::Mach_O_Bundle_FileType, llvm::sys::Mach_O_DynamicallyLinkedSharedLibStub_FileType,
  llvm::sys::COFF_FileType
}
 This enumeration delineates the kinds of files that LLVM knows about. More...

Functions

LLVMFileType llvm::sys::IdentifyFileType (const char *magic, unsigned length)
bool llvm::sys::CopyFile (const Path &Dest, const Path &Src, std::string *ErrMsg)
 Copy one file to another.
std::ostream & llvm::operator<< (std::ostream &strm, const sys::Path &aPath)
std::ostream & llvm::operator<< (std::ostream &strm, const sys::PathWithStatus &aPath)

Variables

const char llvm::sys::PathSeparator