Lines Matching refs:eod
122 /// the tok::eod token is found.
128 } while (Tmp.isNot(tok::eod));
134 /// This sets the token kind to eod and discards the rest
150 if (MacroNameTok.is(tok::eod)) {
192 // token kind to tok::eod.
193 MacroNameTok.setKind(tok::eod);
197 /// \brief Ensure that the next token is a tok::eod token.
199 /// If not, emit a diagnostic and consume up until the eod. If EnableMacros is
216 if (Tmp.isNot(tok::eod)) {
290 // converted into an EOD token (this terminates the macro).
494 // Scan until the eod token.
652 // EOD token (which terminates the directive).
704 case tok::eod:
835 if (DigitTok.isNot(tok::eod))
911 // If the StrTok is "eod", then it wasn't present. Otherwise, it must be a
912 // string followed by eod.
913 if (StrTok.is(tok::eod))
933 // Verify that there is nothing after the string, other than EOD. Because
954 if (FlagTok.is(tok::eod)) return false;
962 if (FlagTok.is(tok::eod)) return false;
988 if (FlagTok.is(tok::eod)) return false;
1003 if (FlagTok.is(tok::eod)) return false;
1017 if (FlagTok.is(tok::eod)) return false;
1047 // If the StrTok is "eod", then it wasn't present. Otherwise, it must be a
1048 // string followed by eod.
1049 if (StrTok.is(tok::eod))
1140 if (StrTok.isNot(tok::eod))
1150 // Verify that there is nothing after the string, other than EOD.
1167 if (MacroNameTok.is(tok::eod))
1194 if (MacroNameTok.is(tok::eod))
1276 /// the EOD marker.
1283 while (CurTok.isNot(tok::eod)) {
1320 // If we hit the eod marker, emit an error and return true so that the caller
1321 // knows the EOD has been read.
1346 case tok::eod:
1347 // If the token kind is EOD, the error has already been diagnosed.
1362 return; // Found <eod> but no ">"? Diagnostic already emitted.
1384 // Verify that there is nothing after the filename, other than EOD. Note that
1740 case tok::eod: // #define X(
1805 if (MacroNameTok.is(tok::eod))
1823 if (Tok.is(tok::eod)) {
1883 if (!Tok.is(tok::eod))
1889 while (Tok.isNot(tok::eod)) {
1900 while (Tok.isNot(tok::eod)) {
1932 if (Tok.is(tok::eod)) {
1963 if (getLangOpts().AsmPreprocessor && Tok.isNot(tok::eod)) {
2064 if (MacroNameTok.is(tok::eod))
2111 if (MacroNameTok.is(tok::eod)) {