LLVM  6.0.0svn
Classes | Namespaces | Functions
StringRef.h File Reference
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/Support/Compiler.h"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <cstring>
#include <limits>
#include <string>
#include <type_traits>
#include <utility>
Include dependency graph for StringRef.h:

Go to the source code of this file.


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...
class  llvm::StringRef
 StringRef - Represent a constant reference to a string, i.e. More...
class  llvm::StringLiteral
 A wrapper around a string literal that serves as a proxy for constructing global tables of StringRefs with the length computed at compile time. More...
struct  llvm::isPodLike< T >
 isPodLike - This is a type trait that is used to determine whether a given type can be copied around with memcpy instead of running ctors etc. More...
struct  llvm::isPodLike< StringRef >


 Compute iterated dominance frontiers using a linear time algorithm.


bool llvm::getAsUnsignedInteger (StringRef Str, unsigned Radix, unsigned long long &Result)
 Helper functions for StringRef::getAsInteger. More...
bool llvm::getAsSignedInteger (StringRef Str, unsigned Radix, long long &Result)
bool llvm::consumeUnsignedInteger (StringRef &Str, unsigned Radix, unsigned long long &Result)
bool llvm::consumeSignedInteger (StringRef &Str, unsigned Radix, long long &Result)
LLVM_NODISCARD hash_code llvm::hash_value (StringRef S)
 Compute a hash_code for a StringRef. More...
StringRef Comparison Operators
LLVM_ATTRIBUTE_ALWAYS_INLINE bool llvm::operator== (StringRef LHS, StringRef RHS)
LLVM_ATTRIBUTE_ALWAYS_INLINE bool llvm::operator!= (StringRef LHS, StringRef RHS)
bool llvm::operator< (StringRef LHS, StringRef RHS)
bool llvm::operator<= (StringRef LHS, StringRef RHS)
bool llvm::operator> (StringRef LHS, StringRef RHS)
bool llvm::operator>= (StringRef LHS, StringRef RHS)
std::string & llvm::operator+= (std::string &buffer, StringRef string)