Lines Matching refs:getCurScope
355 N->Init(getCurScope(), ScopeFlags);
358 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags);
364 assert(getCurScope() && "Scope imbalance!");
368 Actions.ActOnPopScope(Tok.getLocation(), getCurScope());
370 Scope *OldScope = getCurScope();
383 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) {
404 delete getCurScope();
424 assert(getCurScope() == nullptr && "A scope is already active?");
426 Actions.ActOnTranslationUnitScope(getCurScope());
640 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(),
685 Actions.CodeCompleteOrdinaryName(getCurScope(),
844 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS);
987 Scope *ParentScope = getCurScope()->getParent();
1011 Scope *ParentScope = getCurScope()->getParent();
1033 Actions.ActOnStartOfFunctionTemplateDef(getCurScope(),
1035 : Actions.ActOnStartOfFunctionDef(getCurScope(), D);
1155 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator);
1211 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation());
1363 getCurScope(), SS, Name, NameLoc, Next,
1544 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1559 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1604 Tok.getLocation(), getCurScope(),
1643 = Actions.isTemplateName(getCurScope(), SS,
1740 for (Scope *S = getCurScope(); S; S = S->getParent()) {
1742 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_RecoveryInFunction);
1748 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class);
1754 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace);
1773 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope());
1787 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo,
1830 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc,
1883 if (Result && !getCurScope()->getParent())