Lines Matching refs:getCurScope
407 N->Init(getCurScope(), ScopeFlags); in EnterScope()
410 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
416 assert(getCurScope() && "Scope imbalance!"); in ExitScope()
420 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
422 Scope *OldScope = getCurScope(); in ExitScope()
435 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags()
456 delete getCurScope(); in ~Parser()
476 assert(getCurScope() == nullptr && "A scope is already active?"); in Initialize()
478 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
867 Actions.ActOnEmptyDeclaration(getCurScope(), Attrs, Tok.getLocation()); in ParseExternalDeclaration()
923 Actions.CodeCompleteObjCMethodDecl(getCurScope(), in ParseExternalDeclaration()
928 getCurScope(), in ParseExternalDeclaration()
1159 getCurScope(), AS_none, DS, ParsedAttributesView::none(), AnonRecord); in ParseDeclOrFunctionDefInternal()
1307 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1338 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1396 Decl *Res = Actions.ActOnStartOfFunctionDef(getCurScope(), D, in ParseFunctionDefinition()
1541 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseKNRParamDeclarations()
1597 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation()); in ParseKNRParamDeclarations()
1757 getCurScope(), SS, Name, NameLoc, Next, SS.isEmpty() ? CCC : nullptr); in TryAnnotateName()
1769 Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, FakeNext, in TryAnnotateName()
2006 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
2023 getCurScope(), TypenameLoc, SS, TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
2065 *Tok.getIdentifierInfo(), Tok.getLocation(), getCurScope(), &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2121 getCurScope(), SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2223 for (Scope *S = getCurScope(); S; S = S->getParent()) { in handleUnexpectedCodeCompletionToken()
2226 Actions.CodeCompleteOrdinaryName(getCurScope(), in handleUnexpectedCodeCompletionToken()
2233 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class); in handleUnexpectedCodeCompletionToken()
2239 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace); in handleUnexpectedCodeCompletionToken()
2250 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope()); in CodeCompleteInConditionalExclusion()
2264 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo, in CodeCompleteMacroArgument()
2317 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
2370 if (Result && !getCurScope()->getParent()) in ParseMicrosoftIfExistsExternalDeclaration()