reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1444 IdentifierInfo *II = Tok.getIdentifierInfo(); 1450 return Handle_Pragma(Tok); 1452 return HandleMicrosoft__pragma(Tok); 1460 Tok.setIdentifierInfo(nullptr); 1461 Tok.clearFlag(Token::NeedsCleaning); 1462 bool IsAtStartOfLine = Tok.isAtStartOfLine(); 1463 bool HasLeadingSpace = Tok.hasLeadingSpace(); 1469 SourceLocation Loc = Tok.getLocation(); 1485 Tok.setKind(tok::numeric_constant); 1490 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); 1524 Tok.setKind(tok::string_literal); 1526 Diag(Tok.getLocation(), diag::warn_pp_date_time); 1529 Tok.setKind(tok::string_literal); 1530 Tok.setLength(strlen("\"Mmm dd yyyy\"")); 1531 Tok.setLocation(SourceMgr.createExpansionLoc(DATELoc, Tok.getLocation(), 1531 Tok.setLocation(SourceMgr.createExpansionLoc(DATELoc, Tok.getLocation(), 1532 Tok.getLocation(), 1533 Tok.getLength())); 1536 Diag(Tok.getLocation(), diag::warn_pp_date_time); 1539 Tok.setKind(tok::string_literal); 1540 Tok.setLength(strlen("\"hh:mm:ss\"")); 1541 Tok.setLocation(SourceMgr.createExpansionLoc(TIMELoc, Tok.getLocation(), 1541 Tok.setLocation(SourceMgr.createExpansionLoc(TIMELoc, Tok.getLocation(), 1542 Tok.getLocation(), 1543 Tok.getLength())); 1550 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); 1559 Tok.setKind(tok::numeric_constant); 1561 Diag(Tok.getLocation(), diag::warn_pp_date_time); 1583 Tok.setKind(tok::string_literal); 1587 Tok.setKind(tok::numeric_constant); 1589 EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this, 1596 EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this, 1603 EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this, 1656 EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this, 1661 EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this, 1669 EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this, 1680 OS, Tok, II, *this, [&](Token &Tok, bool &HasLexedNextToken) -> int { 1711 Value = EvaluateHasInclude(Tok, II, *this); 1713 Value = EvaluateHasIncludeNext(Tok, II, *this); 1715 if (Tok.isNot(tok::r_paren)) 1718 Tok.setKind(tok::numeric_constant); 1721 EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this, 1752 EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this, 1763 Tok.setIdentifierInfo(ModuleII); 1764 Tok.setKind(ModuleII->getTokenID()); 1766 SourceLocation Loc = Tok.getLocation(); 1770 LexNonComment(Tok); 1771 if (Tok.isNot(tok::l_paren)) { 1776 if (!Tok.isAnnotation() && Tok.getIdentifierInfo()) 1776 if (!Tok.isAnnotation() && Tok.getIdentifierInfo()) 1777 Tok.setKind(tok::identifier); 1781 SourceLocation LParenLoc = Tok.getLocation(); 1782 LexNonComment(Tok); 1784 if (!Tok.isAnnotation() && Tok.getIdentifierInfo()) 1784 if (!Tok.isAnnotation() && Tok.getIdentifierInfo()) 1785 Tok.setKind(tok::identifier); 1787 Diag(Tok.getLocation(), diag::err_pp_identifier_arg_not_identifier) 1788 << Tok.getKind(); 1790 if (Tok.isOneOf(tok::eof, tok::eod) || Tok.isAnnotation()) 1790 if (Tok.isOneOf(tok::eof, tok::eod) || Tok.isAnnotation()) 1798 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) 1799 << Tok.getKind() << tok::r_paren; 1805 OS, Tok, II, *this, [this](Token &Tok, bool &HasLexedNextToken) -> int { 1812 OS, Tok, II, *this, [this](Token &Tok, bool &HasLexedNextToken) -> int { 1819 OS, Tok, II, *this, [this](Token &Tok, bool &HasLexedNextToken) -> int { 1826 OS, Tok, II, *this, [this](Token &Tok, bool &HasLexedNextToken) -> int { 1834 CreateString(OS.str(), Tok, Tok.getLocation(), Tok.getLocation()); 1834 CreateString(OS.str(), Tok, Tok.getLocation(), Tok.getLocation()); 1834 CreateString(OS.str(), Tok, Tok.getLocation(), Tok.getLocation()); 1835 Tok.setFlagValue(Token::StartOfLine, IsAtStartOfLine); 1836 Tok.setFlagValue(Token::LeadingSpace, HasLeadingSpace);