LLVM API Documentation

StringExtras.h File Reference

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

Include dependency graph for StringExtras.h:

Go to the source code of this file.

Namespaces

namespace  llvm

Functions

static char llvm::hexdigit (unsigned X)
template<typename IntTy>
static char * llvm::utohex_buffer (IntTy X, char *BufferEnd)
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::itohexstr (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)
static bool llvm::StringsEqualNoCase (const std::string &LHS, const std::string &RHS)
static bool llvm::StringsEqualNoCase (const std::string &LHS, const char *RHS)
static const char * llvm::CStrInCStrNoCase (const char *s1, const char *s2)
std::string llvm::getToken (std::string &Source, const char *Delimiters=" \t\n\v\f\r")
void llvm::SplitString (const std::string &Source, std::vector< std::string > &OutFragments, const char *Delimiters=" \t\n\v\f\r")
void llvm::UnescapeString (std::string &Str)
void llvm::EscapeString (std::string &Str)




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.