Lines Matching refs:getCurScope
355 N->Init(getCurScope(), ScopeFlags); in EnterScope()
358 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
364 assert(getCurScope() && "Scope imbalance!"); in ExitScope()
368 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
370 Scope *OldScope = getCurScope(); in ExitScope()
383 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags()
404 delete getCurScope(); in ~Parser()
424 assert(getCurScope() == nullptr && "A scope is already active?"); in Initialize()
426 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
640 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(), in ParseExternalDeclaration()
685 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseExternalDeclaration()
844 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); in ParseDeclOrFunctionDefInternal()
987 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1011 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1033 Actions.ActOnStartOfFunctionTemplateDef(getCurScope(), in ParseFunctionDefinition()
1035 : Actions.ActOnStartOfFunctionDef(getCurScope(), D); in ParseFunctionDefinition()
1155 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseKNRParamDeclarations()
1211 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation()); in ParseKNRParamDeclarations()
1363 = Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, Next, in TryAnnotateName()
1544 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
1559 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
1604 Tok.getLocation(), getCurScope(), in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1643 = Actions.isTemplateName(getCurScope(), SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1740 for (Scope *S = getCurScope(); S; S = S->getParent()) { in handleUnexpectedCodeCompletionToken()
1742 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_RecoveryInFunction); in handleUnexpectedCodeCompletionToken()
1748 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class); in handleUnexpectedCodeCompletionToken()
1754 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace); in handleUnexpectedCodeCompletionToken()
1773 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope()); in CodeCompleteInConditionalExclusion()
1787 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo, in CodeCompleteMacroArgument()
1830 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
1883 if (Result && !getCurScope()->getParent()) in ParseMicrosoftIfExistsExternalDeclaration()