LLVM  6.0.0svn
Functions
AsmLexer.cpp File Reference
#include "llvm/MC/MCParser/AsmLexer.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCParser/MCAsmLexer.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/SaveAndRestore.h"
#include <cassert>
#include <cctype>
#include <cstdio>
#include <cstring>
#include <string>
#include <tuple>
#include <utility>
Include dependency graph for AsmLexer.cpp:

Go to the source code of this file.

Functions

static bool IsIdentifierChar (char c, bool AllowAt)
 LexIdentifier: [a-zA-Z_.][a-zA-Z0-9_$.@?]*. More...
 
static void SkipIgnoredIntegerSuffix (const char *&CurPtr)
 
static unsigned doLookAhead (const char *&CurPtr, unsigned DefaultRadix)
 
static AsmToken intToken (StringRef Ref, APInt &Value)
 

Function Documentation

◆ doLookAhead()

static unsigned doLookAhead ( const char *&  CurPtr,
unsigned  DefaultRadix 
)
static

Definition at line 244 of file AsmLexer.cpp.

References llvm::isDigit(), and llvm::isHexDigit().

Referenced by intToken().

◆ intToken()

static AsmToken intToken ( StringRef  Ref,
APInt Value 
)
static

◆ IsIdentifierChar()

static bool IsIdentifierChar ( char  c,
bool  AllowAt 
)
static

◆ SkipIgnoredIntegerSuffix()

static void SkipIgnoredIntegerSuffix ( const char *&  CurPtr)
static

Definition at line 232 of file AsmLexer.cpp.

Referenced by intToken().