Lines Matching refs:TmpPP
491 Preprocessor &TmpPP = const_cast<Preprocessor&>(PP); in HighlightMacros() local
492 DiagnosticsEngine *OldDiags = &TmpPP.getDiagnostics(); in HighlightMacros()
493 TmpPP.setDiagnostics(TmpDiags); in HighlightMacros()
496 TmpPP.SetCommentRetentionState(false, false); in HighlightMacros()
500 bool PragmasPreviouslyEnabled = TmpPP.getPragmasEnabled(); in HighlightMacros()
501 TmpPP.setPragmasEnabled(false); in HighlightMacros()
505 TmpPP.EnterTokenStream(&TokenStream[0], TokenStream.size(), false, false); in HighlightMacros()
507 TokenConcatenation ConcatInfo(TmpPP); in HighlightMacros()
511 TmpPP.Lex(Tok); in HighlightMacros()
515 TmpPP.Lex(Tok); in HighlightMacros()
527 TmpPP.Lex(Tok); in HighlightMacros()
534 std::string Expansion = EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros()
540 TmpPP.Lex(Tok); in HighlightMacros()
562 Expansion += EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros()
567 TmpPP.Lex(Tok); in HighlightMacros()
580 TmpPP.setDiagnostics(*OldDiags); in HighlightMacros()
581 TmpPP.setPragmasEnabled(PragmasPreviouslyEnabled); in HighlightMacros()