LLVM API Documentation
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/DataTypes.h"
#include <iterator>
Go to the source code of this file.
Classes | |
class | llvm::sys::path::const_iterator |
Path iterator. More... | |
Namespaces | |
llvm | |
List of target independent CodeGen pass IDs. | |
llvm::sys | |
llvm::sys::path | |
Functions | |
Lexical Modifiers | |
void | llvm::sys::path::remove_filename (SmallVectorImpl< char > &path) |
Remove the last component from path unless it is the root dir. More... | |
void | llvm::sys::path::replace_extension (SmallVectorImpl< char > &path, const Twine &extension) |
Replace the file extension of path with extension. More... | |
void | llvm::sys::path::append (SmallVectorImpl< char > &path, const Twine &a, const Twine &b="", const Twine &c="", const Twine &d="") |
Append to path. More... | |
void | llvm::sys::path::append (SmallVectorImpl< char > &path, const_iterator begin, const_iterator end) |
Append to path. More... | |
Transforms (or some other better name) | |
void | llvm::sys::path::native (const Twine &path, SmallVectorImpl< char > &result) |
void | llvm::sys::path::native (SmallVectorImpl< char > &path) |
Lexical Observers | |
const StringRef | llvm::sys::path::root_name (StringRef path) |
Get root name. More... | |
const StringRef | llvm::sys::path::root_directory (StringRef path) |
Get root directory. More... | |
const StringRef | llvm::sys::path::root_path (StringRef path) |
Get root path. More... | |
const StringRef | llvm::sys::path::relative_path (StringRef path) |
Get relative path. More... | |
const StringRef | llvm::sys::path::parent_path (StringRef path) |
Get parent path. More... | |
const StringRef | llvm::sys::path::filename (StringRef path) |
Get filename. More... | |
const StringRef | llvm::sys::path::stem (StringRef path) |
Get stem. More... | |
const StringRef | llvm::sys::path::extension (StringRef path) |
Get extension. More... | |
bool | llvm::sys::path::is_separator (char value) |
Check whether the given char is a path separator on the host OS. More... | |
void | llvm::sys::path::system_temp_directory (bool erasedOnReboot, SmallVectorImpl< char > &result) |
Get the typical temporary directory for the system, e.g., "/var/tmp" or "C:/TEMP". More... | |
bool | llvm::sys::path::has_root_name (const Twine &path) |
Has root name? More... | |
bool | llvm::sys::path::has_root_directory (const Twine &path) |
Has root directory? More... | |
bool | llvm::sys::path::has_root_path (const Twine &path) |
Has root path? More... | |
bool | llvm::sys::path::has_relative_path (const Twine &path) |
Has relative path? More... | |
bool | llvm::sys::path::has_parent_path (const Twine &path) |
Has parent path? More... | |
bool | llvm::sys::path::has_filename (const Twine &path) |
Has filename? More... | |
bool | llvm::sys::path::has_stem (const Twine &path) |
Has stem? More... | |
bool | llvm::sys::path::has_extension (const Twine &path) |
Has extension? More... | |
bool | llvm::sys::path::is_absolute (const Twine &path) |
Is path absolute? More... | |
bool | llvm::sys::path::is_relative (const Twine &path) |
Is path relative? More... | |
Lexical Component Iterator | |
typedef std::reverse_iterator < const_iterator > | llvm::sys::path::reverse_iterator |
const_iterator | llvm::sys::path::begin (StringRef path) |
Get begin iterator over path. More... | |
const_iterator | llvm::sys::path::end (StringRef path) |
Get end iterator over path. More... | |
reverse_iterator | llvm::sys::path::rbegin (StringRef path) |
Get reverse begin iterator over path. More... | |
reverse_iterator | llvm::sys::path::rend (StringRef path) |
Get reverse end iterator over path. More... | |