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;
106 MSCommentHandler.reset(new PragmaCommentHandler(actions));
108 MSDetectMismatchHandler.reset(new PragmaDetectMismatchHandler(actions));
112 CommentSemaHandler.reset(new ActionCommentHandler(actions));
369 Actions.CurScope = N;
371 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags);
379 // Inform the actions module that this scope is going away if there are any
382 Actions.ActOnPopScope(Tok.getLocation(), getCurScope());
385 Actions.CurScope = OldScope->getParent();
419 Actions.CurScope = 0;
479 Actions.ActOnTranslationUnitScope(getCurScope());
537 Actions.Initialize();
580 Actions.SetLateTemplateParser(LateTemplateParserCallback, this);
582 Actions.ActOnEndOfTranslationUnit();
664 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(),
694 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc);
709 Actions.CodeCompleteOrdinaryName(getCurScope(),
772 return Actions.ConvertDeclToDeclGroup(
792 return Actions.ConvertDeclToDeclGroup(SingleDecl);
863 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS);
865 return Actions.ConvertDeclToDeclGroup(TheDecl);
892 return Actions.ConvertDeclToDeclGroup(
903 return Actions.ConvertDeclToDeclGroup(TheDecl);
1006 Decl *DP = Actions.HandleDeclarator(ParentScope, D,
1019 Actions.CheckForFunctionRedefinition(FnD);
1022 Actions.MarkAsLateParsedTemplate(FnD);
1034 Actions.CurContext->isTranslationUnit()) {
1039 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D,
1054 // Tell the actions module that we have entered a function definition with the
1057 Actions.ActOnStartOfFunctionTemplateDef(getCurScope(),
1059 : Actions.ActOnStartOfFunctionDef(getCurScope(), D);
1072 Actions.ActOnFinishFunctionBody(Res, 0, false);
1082 Actions.SetDeclDeleted(Res, KWLoc);
1090 Actions.SetDeclDefaulted(Res, KWLoc);
1118 Actions.ActOnFinishFunctionBody(Res, 0);
1122 Actions.ActOnDefaultCtorInitializers(Res);
1184 // Ask the actions module to compute the type for this declarator.
1186 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator);
1239 // The actions module must verify that all arguments were declared.
1240 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation());
1333 Tok.setAnnotationValue(Actions.SaveNestedNameSpecifierAnnotation(SS));
1393 = Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, Next,
1476 /// Actions.getTypeName will not be needed to be called again (e.g. getTypeName
1528 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1542 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1586 if (ParsedType Ty = Actions.getTypeName(*Tok.getIdentifierInfo(),
1625 = Actions.isTemplateName(getCurScope(), SS,
1725 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_RecoveryInFunction);
1731 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class);
1737 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace);
1752 Actions.CodeCompletePreprocessorDirective(InConditional);
1756 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope());
1760 Actions.CodeCompletePreprocessorMacroName(IsDefinition);
1764 Actions.CodeCompletePreprocessorExpression();
1770 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo,
1775 Actions.CodeCompleteNaturalLanguage();
1813 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc,
1866 Actions.getASTConsumer().HandleTopLevelDecl(Result.get());
1882 Actions.CodeCompleteModuleImport(ImportLoc, Path);
1911 DeclResult Import = Actions.ActOnModuleImport(AtLoc, ImportLoc, Path);
1916 return Actions.ConvertDeclToDeclGroup(Import.get());