reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Parse/ParsePragma.cpp
 1645   PP.Lex(Tok);
 1646   if (Tok.isNot(tok::l_paren)) {
 1647     PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) << "pack";
 1655   PP.Lex(Tok);
 1656   if (Tok.is(tok::numeric_constant)) {
 1657     Alignment = Tok;
 1659     PP.Lex(Tok);
 1666   } else if (Tok.is(tok::identifier)) {
 1667     const IdentifierInfo *II = Tok.getIdentifierInfo();
 1670       PP.Lex(Tok);
 1677         PP.Diag(Tok.getLocation(), diag::warn_pragma_invalid_action) << "pack";
 1680       PP.Lex(Tok);
 1682       if (Tok.is(tok::comma)) {
 1683         PP.Lex(Tok);
 1685         if (Tok.is(tok::numeric_constant)) {
 1687           Alignment = Tok;
 1689           PP.Lex(Tok);
 1690         } else if (Tok.is(tok::identifier)) {
 1691           SlotLabel = Tok.getIdentifierInfo()->getName();
 1692           PP.Lex(Tok);
 1694           if (Tok.is(tok::comma)) {
 1695             PP.Lex(Tok);
 1697             if (Tok.isNot(tok::numeric_constant)) {
 1698               PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_malformed);
 1703             Alignment = Tok;
 1705             PP.Lex(Tok);
 1708           PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_malformed);
 1720   if (Tok.isNot(tok::r_paren)) {
 1721     PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_rparen) << "pack";
 1725   SourceLocation RParenLoc = Tok.getLocation();
 1726   PP.Lex(Tok);
 1727   if (Tok.isNot(tok::eod)) {
 1728     PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) << "pack";