Home | History | Annotate | Download | only in Lex

Lines Matching refs:PP

49   const LangOptions &LangOpts = PP.getLangOpts();
54 SourceManager &SM = PP.getSourceManager();
63 unsigned length = PP.getSpelling(Tok, TokPtr);
67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11);
70 TokenConcatenation::TokenConcatenation(Preprocessor &pp) : PP(pp) {
90 if (PP.getLangOpts().CPlusPlus11) {
121 static char GetFirstChar(Preprocessor &PP, const Token &Tok) {
129 SourceManager &SM = PP.getSourceManager();
135 PP.getSpelling(Tok, TokPtr);
138 return PP.getSpelling(Tok)[0];
159 SourceManager &SM = PP.getSourceManager();
191 FirstChar = GetFirstChar(PP, Tok);
210 if (!PP.getLangOpts().CPlusPlus11)
226 return GetFirstChar(PP, Tok) != '.';
248 (PP.getLangOpts().CPlusPlus && FirstChar == '*');
267 (PP.getLangOpts().CPlusPlus && FirstChar == ':');
271 return PP.getLangOpts().CPlusPlus && FirstChar == '*';