Home | History | Annotate | Download | only in Parse

Lines Matching refs:Actions

51 Parser::Parser(Preprocessor &pp, Sema &actions, bool skipFunctionBodies)
52 : PP(pp), Actions(actions), Diags(PP.getDiagnostics()),
59 Actions.CurScope = 0;
100 CommentSemaHandler.reset(new ActionCommentHandler(actions));
347 Actions.CurScope = N;
349 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags);
357 // Inform the actions module that this scope is going away if there are any
360 Actions.ActOnPopScope(Tok.getLocation(), getCurScope());
363 Actions.CurScope = OldScope->getParent();
397 Actions.CurScope = 0;
448 Actions.ActOnTranslationUnitScope(getCurScope());
505 Actions.Initialize();
548 Actions.SetLateTemplateParser(LateTemplateParserCallback, this);
550 Actions.ActOnEndOfTranslationUnit();
629 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(),
659 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc);
674 Actions.CodeCompleteOrdinaryName(getCurScope(),
737 return Actions.ConvertDeclToDeclGroup(
757 return Actions.ConvertDeclToDeclGroup(SingleDecl);
828 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS);
830 return Actions.ConvertDeclToDeclGroup(TheDecl);
857 return Actions.ConvertDeclToDeclGroup(
868 return Actions.ConvertDeclToDeclGroup(TheDecl);
971 Decl *DP = Actions.HandleDeclarator(ParentScope, D,
984 Actions.CheckForFunctionRedefinition(FnD);
987 Actions.MarkAsLateParsedTemplate(FnD);
999 Actions.CurContext->isTranslationUnit()) {
1004 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D,
1019 // Tell the actions module that we have entered a function definition with the
1022 Actions.ActOnStartOfFunctionTemplateDef(getCurScope(),
1024 : Actions.ActOnStartOfFunctionDef(getCurScope(), D);
1037 Actions.ActOnFinishFunctionBody(Res, 0, false);
1047 Actions.SetDeclDeleted(Res, KWLoc);
1055 Actions.SetDeclDefaulted(Res, KWLoc);
1083 Actions.ActOnFinishFunctionBody(Res, 0);
1087 Actions.ActOnDefaultCtorInitializers(Res);
1149 // Ask the actions module to compute the type for this declarator.
1151 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator);
1204 // The actions module must verify that all arguments were declared.
1205 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation());
1298 Tok.setAnnotationValue(Actions.SaveNestedNameSpecifierAnnotation(SS));
1358 = Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, Next,
1440 /// Actions.getTypeName will not be needed to be called again (e.g. getTypeName
1492 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1506 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1550 if (ParsedType Ty = Actions.getTypeName(*Tok.getIdentifierInfo(),
1589 = Actions.isTemplateName(getCurScope(), SS,
1688 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_RecoveryInFunction);
1694 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class);
1700 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace);
1715 Actions.CodeCompletePreprocessorDirective(InConditional);
1719 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope());
1723 Actions.CodeCompletePreprocessorMacroName(IsDefinition);
1727 Actions.CodeCompletePreprocessorExpression();
1733 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo,
1738 Actions.CodeCompleteNaturalLanguage();
1776 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc,
1829 Actions.getASTConsumer().HandleTopLevelDecl(Result.get());
1845 Actions.CodeCompleteModuleImport(ImportLoc, Path);
1868 DeclResult Import = Actions.ActOnModuleImport(AtLoc, ImportLoc, Path);
1873 return Actions.ConvertDeclToDeclGroup(Import.get());