LLVM API Documentation

Namespaces | Functions
StringExtras.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataTypes.h"
#include <iterator>
Include dependency graph for StringExtras.h:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

static char llvm::hexdigit (unsigned X, bool LowerCase=false)
static StringRef llvm::toStringRef (bool B)
 Construct a string ref from a boolean.
static unsigned llvm::hexDigitValue (char C)
template<typename IntTy >
static char * llvm::utohex_buffer (IntTy X, char *BufferEnd, bool LowerCase=false)
static std::string llvm::utohexstr (uint64_t X, bool LowerCase=false)
static std::string llvm::utostr_32 (uint32_t X, bool isNeg=false)
static std::string llvm::utostr (uint64_t X, bool isNeg=false)
static std::string llvm::itostr (int64_t X)
StringRef::size_type llvm::StrInStrNoCase (StringRef s1, StringRef s2)
std::pair< StringRef, StringRefllvm::getToken (StringRef Source, StringRef Delimiters=" \t\n\v\f\r")
void llvm::SplitString (StringRef Source, SmallVectorImpl< StringRef > &OutFragments, StringRef Delimiters=" \t\n\v\f\r")
static unsigned llvm::HashString (StringRef Str, unsigned Result=0)
static StringRef llvm::getOrdinalSuffix (unsigned Val)
 Returns the English suffix for an ordinal integer (-st, -nd, -rd, -th).
template<typename IteratorT >
std::string llvm::join_impl (IteratorT Begin, IteratorT End, StringRef Separator, std::input_iterator_tag)
template<typename IteratorT >
std::string llvm::join_impl (IteratorT Begin, IteratorT End, StringRef Separator, std::forward_iterator_tag)
template<typename IteratorT >
std::string llvm::join (IteratorT Begin, IteratorT End, StringRef Separator)