Lines Matching refs:getCurScope
376 N->Init(getCurScope(), ScopeFlags);
379 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags);
385 assert(getCurScope() && "Scope imbalance!");
389 Actions.ActOnPopScope(Tok.getLocation(), getCurScope());
391 Scope *OldScope = getCurScope();
404 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) {
425 delete getCurScope();
454 assert(getCurScope() == nullptr && "A scope is already active?");
456 Actions.ActOnTranslationUnitScope(getCurScope());
673 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(),
728 Actions.CodeCompleteOrdinaryName(getCurScope(),
883 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS);
1026 Scope *ParentScope = getCurScope()->getParent();
1050 Scope *ParentScope = getCurScope()->getParent();
1072 Decl *Res = Actions.ActOnStartOfFunctionDef(getCurScope(), D,
1226 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator);
1282 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation());
1431 getCurScope(), SS, Name, NameLoc, Next, IsAddressOfOperand,
1616 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1631 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1676 Tok.getLocation(), getCurScope(),
1735 = Actions.isTemplateName(getCurScope(), SS,
1833 for (Scope *S = getCurScope(); S; S = S->getParent()) {
1835 Actions.CodeCompleteOrdinaryName(getCurScope(),
1842 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class);
1848 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace);
1860 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope());
1874 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo,
1918 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc,
1971 if (Result && !getCurScope()->getParent())