• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/

Lines Matching refs:Actions

52   : PP(pp), Actions(actions), Diags(PP.getDiagnostics()),
59 Actions.CurScope = nullptr;
207 Actions.getASTContext().getPrintingPolicy())
375 Actions.CurScope = N;
377 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags);
387 Actions.ActOnPopScope(Tok.getLocation(), getCurScope());
390 Actions.CurScope = OldScope->getParent();
424 Actions.CurScope = nullptr;
445 Actions.ActOnTranslationUnitScope(getCurScope());
526 Actions.Initialize();
549 Actions.ActOnStartOfTranslationUnit();
556 if (NoTopLevelDecls && !Actions.getASTContext().getExternalSource() &&
620 Result = Actions.ConvertDeclToDeclGroup(ImportDecl);
625 Actions.ActOnModuleInclude(Tok.getLocation(),
632 Actions.ActOnModuleBegin(Tok.getLocation(), reinterpret_cast<Module *>(
638 Actions.ActOnModuleEnd(Tok.getLocation(), reinterpret_cast<Module *>(
655 Actions.SetLateTemplateParser(LateTemplateParserCallback, nullptr, this);
657 Actions.ActOnEndOfTranslationUnit();
784 Actions.ActOnEmptyDeclaration(getCurScope(), attrs, Tok.getLocation());
822 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc);
839 Actions.CodeCompleteObjCMethodDecl(getCurScope(),
843 Actions.CodeCompleteOrdinaryName(
912 return Actions.ConvertDeclToDeclGroup(
940 return Actions.ConvertDeclToDeclGroup(SingleDecl);
1044 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none,
1048 Actions.setCurrentOpenCLExtensionForDecl(TheDecl);
1051 return Actions.BuildDeclaratorGroup(decls);
1053 return Actions.ConvertDeclToDeclGroup(TheDecl);
1076 Actions.getASTContext().getPrintingPolicy()))
1085 return Actions.ConvertDeclToDeclGroup(
1096 return Actions.ConvertDeclToDeclGroup(TheDecl);
1147 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy();
1189 Actions.canDelayFunctionBody(D)) {
1197 Decl *DP = Actions.HandleDeclarator(ParentScope, D,
1202 if (SkipFunctionBodies && (!DP || Actions.canSkipFunctionBody(DP)) &&
1205 return Actions.ActOnSkippedFunctionBody(DP);
1213 Actions.CheckForFunctionRedefinition(FnD);
1214 Actions.MarkAsLateParsedTemplate(FnD, DP, Toks);
1222 Actions.CurContext->isTranslationUnit()) {
1228 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D,
1248 Decl *Res = Actions.ActOnStartOfFunctionDef(getCurScope(), D,
1285 Actions.SetDeclDeleted(Res, KWLoc);
1292 Actions.SetDeclDefaulted(Res, KWLoc);
1307 Actions.ActOnFinishFunctionBody(Res, GeneratedBody, false);
1311 if (SkipFunctionBodies && (!Res || Actions.canSkipFunctionBody(Res)) &&
1314 Actions.ActOnSkippedFunctionBody(Res);
1315 return Actions.ActOnFinishFunctionBody(Res, nullptr, false);
1329 Actions.ActOnFinishFunctionBody(Res, nullptr);
1333 Actions.ActOnDefaultCtorInitializers(Res);
1418 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator);
1474 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation());
1571 Tok.setAnnotationValue(Actions.SaveNestedNameSpecifierAnnotation(SS));
1627 Sema::NameClassification Classification = Actions.ClassifyName(
1640 Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, FakeNext,
1695 Tok.setKind(Actions.isUnevaluatedContext() ? tok::annot_uneval_primary_expr
1794 /// Actions.getTypeName will not be needed to be called again (e.g. getTypeName
1866 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS,
1882 : Actions.ActOnTypenameType(
1922 if (ParsedType Ty = Actions.getTypeName(
1978 if (TemplateNameKind TNK = Actions.isTemplateName(
2083 Actions.CodeCompleteOrdinaryName(getCurScope(),
2090 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class);
2096 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace);
2104 Actions.CodeCompletePreprocessorDirective(InConditional);
2108 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope());
2112 Actions.CodeCompletePreprocessorMacroName(IsDefinition);
2116 Actions.CodeCompletePreprocessorExpression();
2122 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo,
2127 Actions.CodeCompleteIncludedFile(Dir, IsAngled);
2131 Actions.CodeCompleteNaturalLanguage();
2175 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc,
2228 Actions.getASTConsumer().HandleTopLevelDecl(Result.get());
2275 return Actions.ActOnGlobalModuleFragmentDecl(ModuleLoc);
2289 return Actions.ActOnPrivateModuleFragmentDecl(ModuleLoc, PrivateLoc);
2316 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, IsFirstDecl);
2386 Actions.ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, HeaderUnit);
2388 Import = Actions.ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Path);
2421 Actions.CodeCompleteModuleImport(UseLoc, Path);
2455 Actions.ActOnModuleEnd(Tok.getLocation(),
2467 Actions.ActOnModuleBegin(Tok.getLocation(),
2476 Actions.ActOnModuleInclude(Tok.getLocation(),