17 #include "llvm/Config/llvm-config.h" 18 #include "llvm/Config/config.h" 59 FoundPath = FilePath.
str();
68 #define COLOR(FGBG, CODE, BOLD) "\033[0;" BOLD FGBG CODE "m" 70 #define ALLCOLORS(FGBG,BOLD) {\ 71 COLOR(FGBG, "0", BOLD),\ 72 COLOR(FGBG, "1", BOLD),\ 73 COLOR(FGBG, "2", BOLD),\ 74 COLOR(FGBG, "3", BOLD),\ 75 COLOR(FGBG, "4", BOLD),\ 76 COLOR(FGBG, "5", BOLD),\ 77 COLOR(FGBG, "6", BOLD),\ 78 COLOR(FGBG, "7", BOLD)\ This class represents lattice values for constants.
static bool AreCoreFilesPrevented()
true if PreventCoreFiles has been called, false otherwise.
const char EnvPathSeparator
This is the OS-specific separator for PATH like environment variables:
void append(SmallVectorImpl< char > &path, const Twine &a, const Twine &b="", const Twine &c="", const Twine &d="")
Append to path.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
bool is_absolute(const Twine &path, Style style=Style::native)
Is path absolute?
static const char colorcodes[2][2][8][10]
void SplitString(StringRef Source, SmallVectorImpl< StringRef > &OutFragments, StringRef Delimiters=" \\\)
SplitString - Split up the specified string according to the specified delimiters, appending the result fragments to the output list.
StringRef str() const
Explicit conversion to StringRef.
const T & getValue() const LLVM_LVALUE_FUNCTION
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
static bool coreFilesPrevented
bool any_of(R &&range, UnaryPredicate P)
Provide wrappers to std::any_of which take ranges instead of having to pass begin/end explicitly...
static Optional< std::string > FindInEnvPath(StringRef EnvName, StringRef FileName, ArrayRef< std::string > IgnoreList)
This function searches for an existing file in the list of directories in a PATH like environment var...
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small...
Provides a library for accessing information about this process and other processes on the operating ...
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
bool equivalent(file_status A, file_status B)
Do file_status's represent the same thing?
#define ALLCOLORS(FGBG, BOLD)
StringRef - Represent a constant reference to a string, i.e.
bool exists(const basic_file_status &status)
Does file exist?
static Optional< std::string > GetEnv(StringRef name)