Lines Matching refs:PP
1218 static StringRef getFallthroughAttrSpelling(Preprocessor &PP,
1222 PP.getIdentifierInfo("fallthrough"),
1227 tok::l_square, tok::l_square, PP.getIdentifierInfo("clang"),
1228 tok::coloncolon, PP.getIdentifierInfo("fallthrough"),
1232 bool PreferClangAttr = !PP.getLangOpts().CPlusPlus17 && !PP.getLangOpts().C2x;
1236 MacroName = PP.getLastMacroWithSpelling(Loc, ClangFallthroughTokens);
1238 MacroName = PP.getLastMacroWithSpelling(Loc, FallthroughTokens);
1240 MacroName = PP.getLastMacroWithSpelling(Loc, ClangFallthroughTokens);
1244 else if (PP.getLangOpts().CPlusPlus)
1301 Preprocessor &PP = S.getPreprocessor();
1302 StringRef AnnotationSpelling = getFallthroughAttrSpelling(PP, L);