LLVM  3.7.0
Classes | Namespaces | Functions
StringExtras.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataTypes.h"
#include <iterator>
Include dependency graph for StringExtras.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::SmallVectorImpl< T >
 This class consists of common code factored out of the SmallVector class to reduce code duplication based on the SmallVector 'N' template parameter. More...
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Functions

static char llvm::hexdigit (unsigned X, bool LowerCase=false)
 hexdigit - Return the hexadecimal character for the given number X (which should be less than 16). More...
 
static StringRef llvm::toStringRef (bool B)
 Construct a string ref from a boolean. More...
 
static unsigned llvm::hexDigitValue (char C)
 Interpret the given character C as a hexadecimal digit and return its value. More...
 
template<typename IntTy >
static char * llvm::utohex_buffer (IntTy X, char *BufferEnd, bool LowerCase=false)
 utohex_buffer - Emit the specified number into the buffer specified by BufferEnd, returning a pointer to the start of the string. More...
 
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)
 StrInStrNoCase - Portable version of strcasestr. More...
 
std::pair< StringRef, StringRefllvm::getToken (StringRef Source, StringRef Delimiters=" \t\n\v\f\r")
 getToken - This function extracts one token from source, ignoring any leading characters that appear in the Delimiters string, and ending the token at any of the characters that appear in the Delimiters string. More...
 
void llvm::SplitString (StringRef Source, SmallVectorImpl< StringRef > &OutFragments, StringRef Delimiters=" \t\n\v\f\r")
 SplitString - Split up the specified string according to the specified delimiters, appending the result fragments to the output list. More...
 
static unsigned llvm::HashString (StringRef Str, unsigned Result=0)
 HashString - Hash function for strings. More...
 
static StringRef llvm::getOrdinalSuffix (unsigned Val)
 Returns the English suffix for an ordinal integer (-st, -nd, -rd, -th). More...
 
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)
 Joins the strings in the range [Begin, End), adding Separator between the elements. More...