Lines Matching refs:Actions

55     : PP(pp), PreferredType(pp.isCodeCompletionEnabled()), Actions(actions),  in Parser()
62 Actions.CurScope = nullptr; in Parser()
75 Actions.ParseTypeFromStringCallback = in Parser()
215 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi()
424 Actions.CurScope = N; in EnterScope()
426 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
436 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
439 Actions.CurScope = OldScope->getParent(); in ExitScope()
473 Actions.CurScope = nullptr; in ~Parser()
494 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
579 Actions.Initialize(); in Initialize()
603 Actions.ActOnStartOfTranslationUnit(); in ParseFirstTopLevelDecl()
615 if (NoTopLevelDecls && !Actions.getASTContext().getExternalSource() && in ParseFirstTopLevelDecl()
679 Result = Actions.ConvertDeclToDeclGroup(ImportDecl); in ParseTopLevelDecl()
689 Actions.ActOnAnnotModuleInclude(Loc, Mod); in ParseTopLevelDecl()
692 Actions.ActOnModuleImport(Loc, SourceLocation(), Loc, Mod); in ParseTopLevelDecl()
694 Result = Actions.ConvertDeclToDeclGroup(ImportDecl); in ParseTopLevelDecl()
701 Actions.ActOnAnnotModuleBegin( in ParseTopLevelDecl()
709 Actions.ActOnAnnotModuleEnd( in ParseTopLevelDecl()
729 Actions.SetLateTemplateParser(LateTemplateParserCallback, nullptr, this); in ParseTopLevelDecl()
730 Actions.ActOnEndOfTranslationUnit(); in ParseTopLevelDecl()
892 Actions.ActOnEmptyDeclaration(getCurScope(), Attrs, Tok.getLocation()); in ParseExternalDeclaration()
930 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc); in ParseExternalDeclaration()
948 Actions.CodeCompletion().CodeCompleteObjCMethodDecl( in ParseExternalDeclaration()
962 Actions.CodeCompletion().CodeCompleteOrdinaryName(getCurScope(), PCC); in ParseExternalDeclaration()
1079 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseExternalDeclaration()
1192 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseDeclOrFunctionDefInternal()
1195 Actions.ActOnDefinedDeclarationSpecifier(TheDecl); in ParseDeclOrFunctionDefInternal()
1198 return Actions.BuildDeclaratorGroup(decls); in ParseDeclOrFunctionDefInternal()
1200 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
1204 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseDeclOrFunctionDefInternal()
1225 Actions.getASTContext().getPrintingPolicy())) in ParseDeclOrFunctionDefInternal()
1234 return Actions.ConvertDeclToDeclGroup( in ParseDeclOrFunctionDefInternal()
1246 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
1259 Actions.getASTContext().getSourceManager()); in ParseDeclarationOrFunctionDefinition()
1293 return Actions.GetNameForDeclarator(D).getName().getAsString(); in ParseFunctionDefinition()
1309 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseFunctionDefinition()
1351 Actions.canDelayFunctionBody(D)) { in ParseFunctionDefinition()
1359 Decl *DP = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition()
1364 if (SkipFunctionBodies && (!DP || Actions.canSkipFunctionBody(DP)) && in ParseFunctionDefinition()
1367 return Actions.ActOnSkippedFunctionBody(DP); in ParseFunctionDefinition()
1375 Actions.CheckForFunctionRedefinition(FnD); in ParseFunctionDefinition()
1376 Actions.MarkAsLateParsedTemplate(FnD, DP, Toks); in ParseFunctionDefinition()
1384 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
1390 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition()
1444 Sema::FPFeaturesStateRAII SaveFPFeatures(Actions); in ParseFunctionDefinition()
1449 Decl *Res = Actions.ActOnStartOfFunctionDef(getCurScope(), D, in ParseFunctionDefinition()
1470 Actions.PopExpressionEvaluationContext(); in ParseFunctionDefinition()
1482 Actions.SetFunctionBodyKind(Res, KWLoc, BodyKind, DeletedMessage); in ParseFunctionDefinition()
1484 Actions.ActOnFinishFunctionBody(Res, GeneratedBody, false); in ParseFunctionDefinition()
1497 if (SkipFunctionBodies && (!Res || Actions.canSkipFunctionBody(Res)) && in ParseFunctionDefinition()
1500 Actions.ActOnSkippedFunctionBody(Res); in ParseFunctionDefinition()
1501 return Actions.ActOnFinishFunctionBody(Res, nullptr, false); in ParseFunctionDefinition()
1515 Actions.ActOnFinishFunctionBody(Res, nullptr); in ParseFunctionDefinition()
1519 Actions.ActOnDefaultCtorInitializers(Res); in ParseFunctionDefinition()
1606 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseKNRParamDeclarations()
1662 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation()); in ParseKNRParamDeclarations()
1759 Tok.setAnnotationValue(Actions.SaveNestedNameSpecifierAnnotation(SS)); in AnnotateScopeToken()
1821 Sema::NameClassification Classification = Actions.ClassifyName( in TryAnnotateName()
1834 Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, FakeNext, in TryAnnotateName()
2076 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
2092 : Actions.ActOnTypenameType( in TryAnnotateTypeOrScopeToken()
2134 if (ParsedType Ty = Actions.getTypeName( in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2190 if (TemplateNameKind TNK = Actions.isTemplateName( in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2296 Actions.CodeCompletion().CodeCompleteOrdinaryName( in handleUnexpectedCodeCompletionToken()
2303 Actions.CodeCompletion().CodeCompleteOrdinaryName( in handleUnexpectedCodeCompletionToken()
2310 Actions.CodeCompletion().CodeCompleteOrdinaryName( in handleUnexpectedCodeCompletionToken()
2318 Actions.CodeCompletion().CodeCompletePreprocessorDirective(InConditional); in CodeCompleteDirective()
2322 Actions.CodeCompletion().CodeCompleteInPreprocessorConditionalExclusion( in CodeCompleteInConditionalExclusion()
2327 Actions.CodeCompletion().CodeCompletePreprocessorMacroName(IsDefinition); in CodeCompleteMacroName()
2331 Actions.CodeCompletion().CodeCompletePreprocessorExpression(); in CodeCompletePreprocessorExpression()
2337 Actions.CodeCompletion().CodeCompletePreprocessorMacroArgument( in CodeCompleteMacroArgument()
2342 Actions.CodeCompletion().CodeCompleteIncludedFile(Dir, IsAngled); in CodeCompleteIncludedFile()
2346 Actions.CodeCompletion().CodeCompleteNaturalLanguage(); in CodeCompleteNaturalLanguage()
2390 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
2444 Actions.getASTConsumer().HandleTopLevelDecl(Result.get()); in ParseMicrosoftIfExistsExternalDeclaration()
2493 return Actions.ActOnGlobalModuleFragmentDecl(ModuleLoc); in ParseModuleDecl()
2510 return Actions.ActOnPrivateModuleFragmentDecl(ModuleLoc, PrivateLoc); in ParseModuleDecl()
2539 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, Partition, in ParseModuleDecl()
2663 Actions.ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, HeaderUnit); in ParseModuleImport()
2665 Import = Actions.ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Path, in ParseModuleImport()
2700 Actions.CodeCompletion().CodeCompleteModuleImport(UseLoc, Path); in ParseModuleName()
2733 Actions.ActOnAnnotModuleEnd( in parseMisplacedModuleImport()
2745 Actions.ActOnAnnotModuleBegin( in parseMisplacedModuleImport()
2754 Actions.ActOnAnnotModuleInclude( in parseMisplacedModuleImport()