Lines Matching refs:getCurScope
423 N->Init(getCurScope(), ScopeFlags); in EnterScope()
426 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
432 assert(getCurScope() && "Scope imbalance!"); in ExitScope()
436 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
438 Scope *OldScope = getCurScope(); in ExitScope()
451 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags()
472 delete getCurScope(); in ~Parser()
492 assert(getCurScope() == nullptr && "A scope is already active?"); in Initialize()
494 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
892 Actions.ActOnEmptyDeclaration(getCurScope(), Attrs, Tok.getLocation()); in ParseExternalDeclaration()
949 getCurScope(), in ParseExternalDeclaration()
962 Actions.CodeCompletion().CodeCompleteOrdinaryName(getCurScope(), PCC); in ParseExternalDeclaration()
1193 getCurScope(), AS_none, DS, ParsedAttributesView::none(), AnonRecord); in ParseDeclOrFunctionDefInternal()
1356 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1387 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition()
1449 Decl *Res = Actions.ActOnStartOfFunctionDef(getCurScope(), D, in ParseFunctionDefinition()
1606 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseKNRParamDeclarations()
1662 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation()); in ParseKNRParamDeclarations()
1822 getCurScope(), SS, Name, NameLoc, Next, SS.isEmpty() ? CCC : nullptr); in TryAnnotateName()
1834 Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, FakeNext, in TryAnnotateName()
2076 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
2093 getCurScope(), TypenameLoc, SS, TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
2135 *Tok.getIdentifierInfo(), Tok.getLocation(), getCurScope(), &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2191 getCurScope(), SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2293 for (Scope *S = getCurScope(); S; S = S->getParent()) { in handleUnexpectedCodeCompletionToken()
2297 getCurScope(), SemaCodeCompletion::PCC_RecoveryInFunction); in handleUnexpectedCodeCompletionToken()
2304 getCurScope(), SemaCodeCompletion::PCC_Class); in handleUnexpectedCodeCompletionToken()
2311 getCurScope(), SemaCodeCompletion::PCC_Namespace); in handleUnexpectedCodeCompletionToken()
2323 getCurScope()); in CodeCompleteInConditionalExclusion()
2338 getCurScope(), Macro, MacroInfo, ArgumentIndex); in CodeCompleteMacroArgument()
2390 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
2443 if (Result && !getCurScope()->getParent()) in ParseMicrosoftIfExistsExternalDeclaration()