Searched refs:FirstNonDigit (Results 1 – 2 of 2) sorted by relevance
519 size_t FirstNonDigit = StringRef::npos; in parseNumberString() local521 FirstNonDigit = Expr.find_first_not_of("0123456789abcdefABCDEF", 2); in parseNumberString()522 if (FirstNonDigit == StringRef::npos) in parseNumberString()523 FirstNonDigit = Expr.size(); in parseNumberString()525 FirstNonDigit = Expr.find_first_not_of("0123456789"); in parseNumberString()526 if (FirstNonDigit == StringRef::npos) in parseNumberString()527 FirstNonDigit = Expr.size(); in parseNumberString()529 return std::make_pair(Expr.substr(0, FirstNonDigit), in parseNumberString()530 Expr.substr(FirstNonDigit)); in parseNumberString()
868 char FirstNonDigit = Text[NonDigitPos]; in handleTableGenNumericLikeIdentifier() local872 if (FirstNonDigit == 'b' && (TheNext == '0' || TheNext == '1')) in handleTableGenNumericLikeIdentifier()875 if (FirstNonDigit == 'x' && isxdigit(TheNext)) in handleTableGenNumericLikeIdentifier()878 if (isalpha(FirstNonDigit) || FirstNonDigit == '_') { in handleTableGenNumericLikeIdentifier()