Lines Matching defs:spelling
295 StringRef spelling = curTok.getSpelling();
296 bool isHex = spelling.size() > 1 && spelling[1] == 'x';
297 if (spelling.getAsInteger(isHex ? 0 : 10, result))
324 StringRef spelling = curTok.getSpelling();
328 if (spelling[0] == '0' && spelling.size() > 1 &&
329 llvm::toLower(spelling[1]) == 'x') {
331 state.lex.resetPointer(spelling.data() + 1);
336 if (spelling.getAsInteger(10, result))
377 StringRef spelling = tok.getSpelling();
378 bool isHex = spelling.size() > 1 && spelling[1] == 'x';
2480 StringRef spelling = getTokenSpelling();
2481 if (!(spelling.empty() || spelling == "^"))