Lines Matching refs:Actions
71 Parser::Parser(Preprocessor &pp, Sema &actions, bool skipFunctionBodies)
72 : PP(pp), Actions(actions), Diags(PP.getDiagnostics()),
79 Actions.CurScope = nullptr;
88 CommentSemaHandler.reset(new ActionCommentHandler(actions));
228 Actions.getASTContext().getPrintingPolicy())
377 Actions.CurScope = N;
379 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags);
387 // Inform the actions module that this scope is going away if there are any
389 Actions.ActOnPopScope(Tok.getLocation(), getCurScope());
392 Actions.CurScope = OldScope->getParent();
426 Actions.CurScope = nullptr;
456 Actions.ActOnTranslationUnitScope(getCurScope());
525 Actions.Initialize();
555 Actions.ActOnModuleInclude(Tok.getLocation(),
562 Actions.ActOnModuleBegin(Tok.getLocation(), reinterpret_cast<Module *>(
568 Actions.ActOnModuleEnd(Tok.getLocation(), reinterpret_cast<Module *>(
576 Actions.SetLateTemplateParser(LateTemplateParserCallback,
581 Actions.ActOnEndOfTranslationUnit();
673 SingleDecl = Actions.ActOnEmptyDeclaration(getCurScope(),
713 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc);
728 Actions.CodeCompleteOrdinaryName(getCurScope(),
787 return Actions.ConvertDeclToDeclGroup(
806 return Actions.ConvertDeclToDeclGroup(SingleDecl);
883 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS);
885 return Actions.ConvertDeclToDeclGroup(TheDecl);
907 Actions.getASTContext().getPrintingPolicy()))
913 return Actions.ConvertDeclToDeclGroup(
924 return Actions.ConvertDeclToDeclGroup(TheDecl);
974 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy();
1022 Actions.canDelayFunctionBody(D)) {
1029 Decl *DP = Actions.HandleDeclarator(ParentScope, D,
1039 Actions.CheckForFunctionRedefinition(FnD);
1040 Actions.MarkAsLateParsedTemplate(FnD, DP, Toks);
1048 Actions.CurContext->isTranslationUnit()) {
1053 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D,
1069 // Tell the actions module that we have entered a function definition with the
1072 Decl *Res = Actions.ActOnStartOfFunctionDef(getCurScope(), D,
1100 Actions.SetDeclDeleted(Res, KWLoc);
1107 Actions.SetDeclDefaulted(Res, KWLoc);
1122 Actions.ActOnFinishFunctionBody(Res, GeneratedBody, false);
1137 Actions.ActOnFinishFunctionBody(Res, nullptr);
1141 Actions.ActOnDefaultCtorInitializers(Res);
1224 // Ask the actions module to compute the type for this declarator.
1226 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator);
1281 // The actions module must verify that all arguments were declared.
1282 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation());
1371 Tok.setAnnotationValue(Actions.SaveNestedNameSpecifierAnnotation(SS));
1430 Sema::NameClassification Classification = Actions.ClassifyName(
1546 /// Actions.getTypeName will not be needed to be called again (e.g. getTypeName
1616 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1631 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1675 if (ParsedType Ty = Actions.getTypeName(*Tok.getIdentifierInfo(),
1735 = Actions.isTemplateName(getCurScope(), SS,
1835 Actions.CodeCompleteOrdinaryName(getCurScope(),
1842 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class);
1848 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace);
1856 Actions.CodeCompletePreprocessorDirective(InConditional);
1860 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope());
1864 Actions.CodeCompletePreprocessorMacroName(IsDefinition);
1868 Actions.CodeCompletePreprocessorExpression();
1874 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo,
1879 Actions.CodeCompleteNaturalLanguage();
1918 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc,
1972 Actions.getASTConsumer().HandleTopLevelDecl(Result.get());
1988 Actions.CodeCompleteModuleImport(ImportLoc, Path);
2016 DeclResult Import = Actions.ActOnModuleImport(AtLoc, ImportLoc, Path);
2021 return Actions.ConvertDeclToDeclGroup(Import.get());
2036 Actions.diagnoseMisplacedModuleImport(reinterpret_cast<Module *>(
2042 Actions.ActOnModuleInclude(Tok.getLocation(),