LLVM  8.0.1
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 doHexLookAhead (const char *&CurPtr, unsigned DefaultRadix, bool LexHex)
 
static AsmToken intToken (StringRef Ref, APInt &Value)
 

Function Documentation

◆ doHexLookAhead()

static unsigned doHexLookAhead ( const char *&  CurPtr,
unsigned  DefaultRadix,
bool  LexHex 
)
static

Definition at line 246 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 234 of file AsmLexer.cpp.

Referenced by intToken().