Home
last modified time | relevance | path

Searched refs:DefaultRadix (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DAsmLexer.h71 unsigned DefaultRadix = 10; variable
172 unsigned getMasmDefaultRadix() const { return DefaultRadix; } in getMasmDefaultRadix()
173 void setMasmDefaultRadix(unsigned Radix) { DefaultRadix = Radix; } in setMasmDefaultRadix()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp345 static unsigned doHexLookAhead(const char *&CurPtr, unsigned DefaultRadix, in doHexLookAhead() argument
367 return DefaultRadix; in doHexLookAhead()
370 static const char *findLastDigit(const char *CurPtr, unsigned DefaultRadix) { in findLastDigit() argument
371 while (hexDigitValue(*CurPtr) < DefaultRadix) { in findLastDigit()
472 DefaultRadix < 14 && in LexDigit()
476 DefaultRadix < 12 && in LexDigit()
505 if (Result.getAsInteger(DefaultRadix, Value)) { in LexDigit()
507 "invalid " + radixName(DefaultRadix) + " number"); in LexDigit()