Home | History | Annotate | Download | only in Lex

Lines Matching refs:Preprocessor

32 #include "clang/Lex/Preprocessor.h"
114 /// with the specified preprocessor managing the lexing process. This lexer
115 /// assumes that the associated file buffer and Preprocessor objects will
117 Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *InputFile, Preprocessor &PP)
129 assert(PP && "Cannot reset token mode without a preprocessor");
174 /// Preprocessor::Lex virtual. Given that, we could just dump in a magic lexer
181 unsigned TokLen, Preprocessor &PP) {
596 // If we haven't hit the end of the preprocessor directive, skip this
601 // We've passed the end of the preprocessor directive, and will look
624 // This is the start of a preprocessor directive.
631 // the raw identifier to recognize and categorize preprocessor directives.
685 // We only end up here if we didn't recognize the preprocessor
1031 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1032 static SourceLocation GetMappedTokenLoc(Preprocessor &PP,
1453 // preprocessor, which may macro expand it or something.
1889 // End of preprocessor directive line, let LexTokenInternal handle this.
2029 // If we are inside a preprocessor directive and we see the end of line,
2054 // If we're not in a preprocessor directive, just return the // comment
2320 /// ReadToEndOfLine - Read the rest of the current preprocessor line as an
2377 // If we hit the end of the file while parsing a preprocessor directive,
2378 // end the preprocessor directive first. The next token returned will
2419 // Finally, let the preprocessor handle this.
2711 // we not throw away any possible preprocessor tokens, but there's a
2774 Preprocessor *PPCache = PP;
2802 Preprocessor *PPCache = PP;
2814 // If we are inside a preprocessor directive and we see the end of line,
3201 // the preprocessor to handle it.
3246 // character is neither : nor >, the < is treated as a preprocessor
3367 // the preprocessor to handle it.
3443 assert(Result.is(tok::eof) && "Preprocessor did not set tok:eof");
3447 // As an optimization, if the preprocessor didn't switch lexers, tail