Lines Matching refs:PP
36 bool HandleComment(Preprocessor &PP, SourceRange Comment) override { in HandleComment() argument
66 Ident__except = PP.getIdentifierInfo("__except"); in getSEHExceptKeyword()
72 : PP(pp), Actions(actions), Diags(PP.getDiagnostics()), in Parser()
89 PP.addCommentHandler(CommentSemaHandler.get()); in Parser()
91 PP.setCodeCompletionHandler(*this); in Parser()
110 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
158 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume()
189 << PP.getSpelling(Tok) in ExpectAndConsumeSemi()
434 PP.removeCommentHandler(CommentSemaHandler.get()); in ~Parser()
436 PP.clearCodeCompletionHandler(); in ~Parser()
439 !PP.isIncrementalProcessingEnabled() && !TemplateIds.empty()) { in ~Parser()
461 ObjCTypeQuals[objc_in] = &PP.getIdentifierTable().get("in"); in Initialize()
462 ObjCTypeQuals[objc_out] = &PP.getIdentifierTable().get("out"); in Initialize()
463 ObjCTypeQuals[objc_inout] = &PP.getIdentifierTable().get("inout"); in Initialize()
464 ObjCTypeQuals[objc_oneway] = &PP.getIdentifierTable().get("oneway"); in Initialize()
465 ObjCTypeQuals[objc_bycopy] = &PP.getIdentifierTable().get("bycopy"); in Initialize()
466 ObjCTypeQuals[objc_byref] = &PP.getIdentifierTable().get("byref"); in Initialize()
467 ObjCTypeQuals[objc_nonnull] = &PP.getIdentifierTable().get("nonnull"); in Initialize()
468 ObjCTypeQuals[objc_nullable] = &PP.getIdentifierTable().get("nullable"); in Initialize()
470 = &PP.getIdentifierTable().get("null_unspecified"); in Initialize()
478 Ident_super = &PP.getIdentifierTable().get("super"); in Initialize()
484 Ident_vector = &PP.getIdentifierTable().get("vector"); in Initialize()
485 Ident_bool = &PP.getIdentifierTable().get("bool"); in Initialize()
488 Ident_pixel = &PP.getIdentifierTable().get("pixel"); in Initialize()
506 Ident__exception_info = PP.getIdentifierInfo("_exception_info"); in Initialize()
507 Ident___exception_info = PP.getIdentifierInfo("__exception_info"); in Initialize()
508 Ident_GetExceptionInfo = PP.getIdentifierInfo("GetExceptionInformation"); in Initialize()
509 Ident__exception_code = PP.getIdentifierInfo("_exception_code"); in Initialize()
510 Ident___exception_code = PP.getIdentifierInfo("__exception_code"); in Initialize()
511 Ident_GetExceptionCode = PP.getIdentifierInfo("GetExceptionCode"); in Initialize()
512 Ident__abnormal_termination = PP.getIdentifierInfo("_abnormal_termination"); in Initialize()
513 Ident___abnormal_termination = PP.getIdentifierInfo("__abnormal_termination"); in Initialize()
514 Ident_AbnormalTermination = PP.getIdentifierInfo("AbnormalTermination"); in Initialize()
516 PP.SetPoisonReason(Ident__exception_code,diag::err_seh___except_block); in Initialize()
517 PP.SetPoisonReason(Ident___exception_code,diag::err_seh___except_block); in Initialize()
518 PP.SetPoisonReason(Ident_GetExceptionCode,diag::err_seh___except_block); in Initialize()
519 PP.SetPoisonReason(Ident__exception_info,diag::err_seh___except_filter); in Initialize()
520 PP.SetPoisonReason(Ident___exception_info,diag::err_seh___except_filter); in Initialize()
521 PP.SetPoisonReason(Ident_GetExceptionInfo,diag::err_seh___except_filter); in Initialize()
522 PP.SetPoisonReason(Ident__abnormal_termination,diag::err_seh___finally_block); in Initialize()
523 PP.SetPoisonReason(Ident___abnormal_termination,diag::err_seh___finally_block); in Initialize()
524 PP.SetPoisonReason(Ident_AbnormalTermination,diag::err_seh___finally_block); in Initialize()
547 if (PP.isIncrementalProcessingEnabled() && Tok.is(tok::eof)) in ParseTopLevelDecl()
579 PP.isIncrementalProcessingEnabled() ? in ParseTopLevelDecl()
582 if (!PP.isIncrementalProcessingEnabled()) in ParseTopLevelDecl()
628 if (PP.isCodeCompletionReached()) { in ParseExternalDeclaration()
1349 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm()
1350 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
1392 if (PP.isBacktrackEnabled()) in AnnotateScopeToken()
1393 PP.RevertCachedTokens(1); in AnnotateScopeToken()
1395 PP.EnterToken(Tok); in AnnotateScopeToken()
1404 PP.AnnotateCachedTokens(Tok); in AnnotateScopeToken()
1468 PP.TypoCorrectToken(Tok); in TryAnnotateName()
1504 PP.AnnotateCachedTokens(Tok); in TryAnnotateName()
1514 PP.AnnotateCachedTokens(Tok); in TryAnnotateName()
1551 << PP.getSpelling(Tok) in TryKeywordIdentFallback()
1597 PP.Lex(TypedefToken); in TryAnnotateTypeOrScopeToken()
1599 PP.EnterToken(Tok); in TryAnnotateTypeOrScopeToken()
1675 PP.AnnotateCachedTokens(Tok); in TryAnnotateTypeOrScopeToken()
1740 PP.AnnotateCachedTokens(Tok); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2032 if (PP.hadModuleLoaderFatalFailure()) { in ParseModuleImport()