StringExtras.h File Reference

#include "llvm/Support/DataTypes.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/DenseMapInfo.h"
#include "llvm/ADT/StringRef.h"
#include <cctype>
#include <cstdio>
#include <string>

Go to the source code of this file.

Namespaces

namespace  llvm

Functions

static char llvm::hexdigit (unsigned X, bool LowerCase=false)
 hexdigit - Return the hexadecimal character for the given number
template<typename IntTy >
static char * llvm::utohex_buffer (IntTy X, char *BufferEnd)
 utohex_buffer - Emit the specified number into the buffer specified by BufferEnd, returning a pointer to the start of the string.
static std::string llvm::utohexstr (uint64_t X)
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)
static std::string llvm::ftostr (double V)
static std::string llvm::ftostr (const APFloat &V)
static std::string llvm::LowercaseString (const std::string &S)
static std::string llvm::UppercaseString (const std::string &S)
StringRef::size_type llvm::StrInStrNoCase (StringRef s1, StringRef s2)
 StrInStrNoCase - Portable version of strcasestr.
std::pair< StringRef, StringRef > llvm::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.
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.
static unsigned llvm::HashString (StringRef Str, unsigned Result=0)
 HashString - Hash function for strings.

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1