reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
571 assert(*TokenPtr == '&'); 572 TokenPtr++; 573 if (TokenPtr == CommentEnd) { 574 formTextToken(T, TokenPtr); 580 char C = *TokenPtr; 582 NamePtr = TokenPtr; 583 TokenPtr = skipNamedCharacterReference(TokenPtr, CommentEnd); 583 TokenPtr = skipNamedCharacterReference(TokenPtr, CommentEnd); 586 TokenPtr++; 587 if (TokenPtr == CommentEnd) { 588 formTextToken(T, TokenPtr); 591 C = *TokenPtr; 593 NamePtr = TokenPtr; 594 TokenPtr = skipDecimalCharacterReference(TokenPtr, CommentEnd); 594 TokenPtr = skipDecimalCharacterReference(TokenPtr, CommentEnd); 597 TokenPtr++; 598 NamePtr = TokenPtr; 599 TokenPtr = skipHexCharacterReference(TokenPtr, CommentEnd); 599 TokenPtr = skipHexCharacterReference(TokenPtr, CommentEnd); 601 formTextToken(T, TokenPtr); 605 formTextToken(T, TokenPtr); 608 if (NamePtr == TokenPtr || TokenPtr == CommentEnd || 608 if (NamePtr == TokenPtr || TokenPtr == CommentEnd || 609 *TokenPtr != ';') { 610 formTextToken(T, TokenPtr); 613 StringRef Name(NamePtr, TokenPtr - NamePtr); 614 TokenPtr++; // Skip semicolon. 624 formTextToken(T, TokenPtr); 627 formTokenWithChars(T, TokenPtr, tok::text);