Lines Matching refs:getCurScope

406     N->Init(getCurScope(), ScopeFlags);  in EnterScope()
409 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
415 assert(getCurScope() && "Scope imbalance!"); in ExitScope()
419 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
421 Scope *OldScope = getCurScope(); in ExitScope()
434 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags()
455 delete getCurScope(); in ~Parser()
475 assert(getCurScope() == nullptr && "A scope is already active?"); in Initialize()
477 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
820 Actions.ActOnEmptyDeclaration(getCurScope(), attrs, Tok.getLocation()); in ParseExternalDeclaration()
875 Actions.CodeCompleteObjCMethodDecl(getCurScope(), in ParseExternalDeclaration()
880 getCurScope(), in ParseExternalDeclaration()
1079 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseDeclOrFunctionDefInternal()
1229 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1260 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1283 Decl *Res = Actions.ActOnStartOfFunctionDef(getCurScope(), D, in ParseFunctionDefinition()
1453 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseKNRParamDeclarations()
1509 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation()); in ParseKNRParamDeclarations()
1663 getCurScope(), SS, Name, NameLoc, Next, SS.isEmpty() ? CCC : nullptr); in TryAnnotateName()
1675 Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, FakeNext, in TryAnnotateName()
1900 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
1917 getCurScope(), TypenameLoc, SS, TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
1957 *Tok.getIdentifierInfo(), Tok.getLocation(), getCurScope(), &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2013 getCurScope(), SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2115 for (Scope *S = getCurScope(); S; S = S->getParent()) { in handleUnexpectedCodeCompletionToken()
2117 Actions.CodeCompleteOrdinaryName(getCurScope(), in handleUnexpectedCodeCompletionToken()
2124 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class); in handleUnexpectedCodeCompletionToken()
2130 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace); in handleUnexpectedCodeCompletionToken()
2142 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope()); in CodeCompleteInConditionalExclusion()
2156 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo, in CodeCompleteMacroArgument()
2209 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
2261 if (Result && !getCurScope()->getParent()) in ParseMicrosoftIfExistsExternalDeclaration()