Lines Matching refs:character

74          "We assume that the input buffer has a null character at the end"
342 assert((int)Tok.getLength() >= 0 && "Token character range is bogus!");
375 assert((int)Tok.getLength() >= 0 && "Token character range is bogus!");
700 /// token, return a new location that specifies a character within the token.
706 // character is. This needs to take into consideration newlines and
726 // If we have a character that may be a trigraph or escaped newline, use a
759 /// a source location pointing to the last character in the token, etc.
1080 /// GetTrigraphCharForLetter - Given a character that occurs after a ?? pair,
1097 /// DecodeTrigraphChar - If the specified character is a legal trigraph when
1099 /// return the result character. Finally, emit a warning about trigraph use
1222 /// getCharAndSizeSlow - Peek a single 'character' from the specified buffer,
1291 // If this is neither, return a single character.
1345 // If this is neither, return a single character.
1425 --CurPtr; // Back up over the skipped character.
1518 // Otherwise, this character is good, consume it.
1541 /// constant. From[-1] is the first character lexed. Return the end of the
1627 const char *NulCharacter = 0; // Does this string contain the \0 character?
1668 // If a nul character existed in the string, warn about it.
1685 // universal-character-names, and line splicing) are reverted.
1695 // If the last character was not a '(', then we didn't lex a valid delimiter.
1758 /// after having lexed the '<' character. This is used for #include filenames.
1760 const char *NulCharacter = 0; // Does this string contain the \0 character?
1766 // Skip the escaped character.
1772 // character. Return this as such.
1781 // If a nul character existed in the string, warn about it.
1792 /// LexCharConstant - Lex the remainder of a character constant, after having
1796 const char *NulCharacter = 0; // Does this character contain the \0 character?
1841 // If a nul character existed in the character, warn about it.
1852 /// Update BufferPtr to point to the next non-whitespace character and return.
1903 /// newline character thats terminate the comment. Then update BufferPtr and
1947 // properly decode the character. Read it in raw mode to avoid emitting
1956 // If we only read only one character, then no special handling is needed.
2018 // Otherwise, eat the \n character. We don't care if this is a \n\r or
2061 /// character (either \\n or \\r) is part of an escaped newline sequence. Issue
2070 // If this is a two-character newline sequence, skip the other character.
2100 // ignore this * character.
2138 // Scan one character past where we should, looking for a '/' character. Once
2143 // The first character we get with newlines and trigraphs skipped to handle
2165 // Check to see if the first character after the '/*' is another /. If so,
2172 // (probably ending) '/' character.
2292 // Otherwise, just return so that the next character will be lexed as a token.
2327 // Nope, normal character, continue.
2339 // Next, lex the character, which should handle the EOD transition.
2616 // C99 6.4.3p2: A universal character name shall not specify a character whose
2620 // universal-character-name corresponds to a surrogate code point (in the
2622 // if the hexadecimal value for a universal-character-name outside the
2623 // c-char-sequence, s-char-sequence, or r-char-sequence of a character or
2624 // string literal corresponds to a control character (in either of the
2625 // ranges 0x00-0x1F or 0x7F-0x9F, both inclusive) or to a character in the
2626 // basic source character set, the program is ill-formed.
2690 // just drop the character.
2691 // Note that we can /only/ do this when the non-ASCII character is actually
2694 // loophole in the mapping of Unicode characters to basic character set
2704 // Otherwise, we have an explicit UCN or a character that's unlikely to show
2713 /// has a null character at the end of the file. This returns a preprocessing
2746 // Read a character, advancing over it.
2867 // UTF-16 character constant
2920 // UTF-32 character constant
2971 // Wide character constant.
3128 // "foo". Check to see if the character after the second slash is a '*'.
3181 // We parsed a # character. If this occurs at the start of the line,
3228 // character is neither : nor >, the < is treated as a preprocessor
3229 // token by itself and not as the first character of the alternative
3347 // We parsed a # character. If this occurs at the start of the line,
3402 // just diagnose the invalid UTF-8, then drop the character.
3418 // We parsed a # character and it's the start of a preprocessing directive.