LLVM API Documentation

Triple.cpp File Reference

#include "llvm/ADT/Triple.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Twine.h"
#include <cassert>
#include <cstring>

Include dependency graph for Triple.cpp:

Go to the source code of this file.

Functions

static unsigned EatNumber (StringRef &Str)


Function Documentation

static unsigned EatNumber ( StringRef &  Str  )  [static]

Definition at line 247 of file Triple.cpp.

References llvm::StringRef::empty(), and llvm::StringRef::substr().

Referenced by llvm::Triple::getDarwinNumber().