Lines Matching refs:getCurScope
346 N->Init(getCurScope(), ScopeFlags); in EnterScope()
349 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
355 assert(getCurScope() && "Scope imbalance!"); in ExitScope()
359 if (!getCurScope()->decl_empty()) in ExitScope()
360 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
362 Scope *OldScope = getCurScope(); in ExitScope()
375 : CurScope(ManageFlags ? Self->getCurScope() : 0) { in ParseScopeFlags()
396 delete getCurScope(); in ~Parser()
446 assert(getCurScope() == 0 && "A scope is already active?"); in Initialize()
448 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
629 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(), in ParseExternalDeclaration()
674 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseExternalDeclaration()
828 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); in ParseDeclOrFunctionDefInternal()
968 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1001 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1022 Actions.ActOnStartOfFunctionTemplateDef(getCurScope(), in ParseFunctionDefinition()
1024 : Actions.ActOnStartOfFunctionDef(getCurScope(), D); in ParseFunctionDefinition()
1151 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseKNRParamDeclarations()
1205 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation()); in ParseKNRParamDeclarations()
1358 = Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, Next, in TryAnnotateName()
1492 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
1506 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
1551 Tok.getLocation(), getCurScope(), in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1589 = Actions.isTemplateName(getCurScope(), SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1686 for (Scope *S = getCurScope(); S; S = S->getParent()) { in handleUnexpectedCodeCompletionToken()
1688 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_RecoveryInFunction); in handleUnexpectedCodeCompletionToken()
1694 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class); in handleUnexpectedCodeCompletionToken()
1700 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace); in handleUnexpectedCodeCompletionToken()
1719 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope()); in CodeCompleteInConditionalExclusion()
1733 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo, in CodeCompleteMacroArgument()
1776 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
1828 if (Result && !getCurScope()->getParent()) in ParseMicrosoftIfExistsExternalDeclaration()