Lines Matching refs:getCurScope

376     N->Init(getCurScope(), ScopeFlags);  in EnterScope()
379 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
385 assert(getCurScope() && "Scope imbalance!"); in ExitScope()
389 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
391 Scope *OldScope = getCurScope(); in ExitScope()
404 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags()
425 delete getCurScope(); in ~Parser()
454 assert(getCurScope() == nullptr && "A scope is already active?"); in Initialize()
456 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
680 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(), in ParseExternalDeclaration()
735 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseExternalDeclaration()
891 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseDeclOrFunctionDefInternal()
1039 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1069 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1091 Decl *Res = Actions.ActOnStartOfFunctionDef(getCurScope(), D, in ParseFunctionDefinition()
1252 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseKNRParamDeclarations()
1308 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation()); in ParseKNRParamDeclarations()
1457 getCurScope(), SS, Name, NameLoc, Next, IsAddressOfOperand, in TryAnnotateName()
1642 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
1657 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
1702 *Tok.getIdentifierInfo(), Tok.getLocation(), getCurScope(), &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1758 Actions.isTemplateName(getCurScope(), SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1855 for (Scope *S = getCurScope(); S; S = S->getParent()) { in handleUnexpectedCodeCompletionToken()
1857 Actions.CodeCompleteOrdinaryName(getCurScope(), in handleUnexpectedCodeCompletionToken()
1864 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class); in handleUnexpectedCodeCompletionToken()
1870 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace); in handleUnexpectedCodeCompletionToken()
1882 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope()); in CodeCompleteInConditionalExclusion()
1896 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo, in CodeCompleteMacroArgument()
1940 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
1993 if (Result && !getCurScope()->getParent()) in ParseMicrosoftIfExistsExternalDeclaration()