Lines Matching refs:Actions
54 : PP(pp), PreferredType(pp.isCodeCompletionEnabled()), Actions(actions), in Parser()
61 Actions.CurScope = nullptr; in Parser()
74 Actions.ParseTypeFromStringCallback = in Parser()
214 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi()
423 Actions.CurScope = N; in EnterScope()
425 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
435 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
438 Actions.CurScope = OldScope->getParent(); in ExitScope()
472 Actions.CurScope = nullptr; in ~Parser()
493 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
578 Actions.Initialize(); in Initialize()
602 Actions.ActOnStartOfTranslationUnit(); in ParseFirstTopLevelDecl()
614 if (NoTopLevelDecls && !Actions.getASTContext().getExternalSource() && in ParseFirstTopLevelDecl()
678 Result = Actions.ConvertDeclToDeclGroup(ImportDecl); in ParseTopLevelDecl()
688 Actions.ActOnModuleInclude(Loc, Mod); in ParseTopLevelDecl()
691 Actions.ActOnModuleImport(Loc, SourceLocation(), Loc, Mod); in ParseTopLevelDecl()
693 Result = Actions.ConvertDeclToDeclGroup(ImportDecl); in ParseTopLevelDecl()
700 Actions.ActOnModuleBegin(Tok.getLocation(), reinterpret_cast<Module *>( in ParseTopLevelDecl()
707 Actions.ActOnModuleEnd(Tok.getLocation(), reinterpret_cast<Module *>( in ParseTopLevelDecl()
726 Actions.SetLateTemplateParser(LateTemplateParserCallback, nullptr, this); in ParseTopLevelDecl()
727 Actions.ActOnEndOfTranslationUnit(); in ParseTopLevelDecl()
889 Actions.ActOnEmptyDeclaration(getCurScope(), Attrs, Tok.getLocation()); in ParseExternalDeclaration()
927 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc); in ParseExternalDeclaration()
945 Actions.CodeCompleteObjCMethodDecl(getCurScope(), in ParseExternalDeclaration()
958 Actions.CodeCompleteOrdinaryName(getCurScope(), PCC); in ParseExternalDeclaration()
1043 return Actions.ConvertDeclToDeclGroup(ParseExplicitInstantiation( in ParseExternalDeclaration()
1075 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseExternalDeclaration()
1187 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseDeclOrFunctionDefInternal()
1190 Actions.ActOnDefinedDeclarationSpecifier(TheDecl); in ParseDeclOrFunctionDefInternal()
1193 return Actions.BuildDeclaratorGroup(decls); in ParseDeclOrFunctionDefInternal()
1195 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
1199 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseDeclOrFunctionDefInternal()
1220 Actions.getASTContext().getPrintingPolicy())) in ParseDeclOrFunctionDefInternal()
1229 return Actions.ConvertDeclToDeclGroup( in ParseDeclOrFunctionDefInternal()
1241 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
1254 Actions.getASTContext().getSourceManager()); in ParseDeclarationOrFunctionDefinition()
1288 return Actions.GetNameForDeclarator(D).getName().getAsString(); in ParseFunctionDefinition()
1304 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in ParseFunctionDefinition()
1346 Actions.canDelayFunctionBody(D)) { in ParseFunctionDefinition()
1354 Decl *DP = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition()
1359 if (SkipFunctionBodies && (!DP || Actions.canSkipFunctionBody(DP)) && in ParseFunctionDefinition()
1362 return Actions.ActOnSkippedFunctionBody(DP); in ParseFunctionDefinition()
1370 Actions.CheckForFunctionRedefinition(FnD); in ParseFunctionDefinition()
1371 Actions.MarkAsLateParsedTemplate(FnD, DP, Toks); in ParseFunctionDefinition()
1379 Actions.CurContext->isTranslationUnit()) { in ParseFunctionDefinition()
1385 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition()
1440 Decl *Res = Actions.ActOnStartOfFunctionDef(getCurScope(), D, in ParseFunctionDefinition()
1461 Actions.PopExpressionEvaluationContext(); in ParseFunctionDefinition()
1473 Actions.SetFunctionBodyKind(Res, KWLoc, BodyKind); in ParseFunctionDefinition()
1475 Actions.ActOnFinishFunctionBody(Res, GeneratedBody, false); in ParseFunctionDefinition()
1488 if (SkipFunctionBodies && (!Res || Actions.canSkipFunctionBody(Res)) && in ParseFunctionDefinition()
1491 Actions.ActOnSkippedFunctionBody(Res); in ParseFunctionDefinition()
1492 return Actions.ActOnFinishFunctionBody(Res, nullptr, false); in ParseFunctionDefinition()
1506 Actions.ActOnFinishFunctionBody(Res, nullptr); in ParseFunctionDefinition()
1510 Actions.ActOnDefaultCtorInitializers(Res); in ParseFunctionDefinition()
1596 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseKNRParamDeclarations()
1652 Actions.ActOnFinishKNRParamDeclarations(getCurScope(), D, Tok.getLocation()); in ParseKNRParamDeclarations()
1749 Tok.setAnnotationValue(Actions.SaveNestedNameSpecifierAnnotation(SS)); in AnnotateScopeToken()
1811 Sema::NameClassification Classification = Actions.ClassifyName( in TryAnnotateName()
1824 Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, FakeNext, in TryAnnotateName()
2055 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
2071 : Actions.ActOnTypenameType( in TryAnnotateTypeOrScopeToken()
2113 if (ParsedType Ty = Actions.getTypeName( in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2169 if (TemplateNameKind TNK = Actions.isTemplateName( in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2275 Actions.CodeCompleteOrdinaryName(getCurScope(), in handleUnexpectedCodeCompletionToken()
2282 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Class); in handleUnexpectedCodeCompletionToken()
2288 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Namespace); in handleUnexpectedCodeCompletionToken()
2295 Actions.CodeCompletePreprocessorDirective(InConditional); in CodeCompleteDirective()
2299 Actions.CodeCompleteInPreprocessorConditionalExclusion(getCurScope()); in CodeCompleteInConditionalExclusion()
2303 Actions.CodeCompletePreprocessorMacroName(IsDefinition); in CodeCompleteMacroName()
2307 Actions.CodeCompletePreprocessorExpression(); in CodeCompletePreprocessorExpression()
2313 Actions.CodeCompletePreprocessorMacroArgument(getCurScope(), Macro, MacroInfo, in CodeCompleteMacroArgument()
2318 Actions.CodeCompleteIncludedFile(Dir, IsAngled); in CodeCompleteIncludedFile()
2322 Actions.CodeCompleteNaturalLanguage(); in CodeCompleteNaturalLanguage()
2366 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
2420 Actions.getASTConsumer().HandleTopLevelDecl(Result.get()); in ParseMicrosoftIfExistsExternalDeclaration()
2469 return Actions.ActOnGlobalModuleFragmentDecl(ModuleLoc); in ParseModuleDecl()
2486 return Actions.ActOnPrivateModuleFragmentDecl(ModuleLoc, PrivateLoc); in ParseModuleDecl()
2515 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, Partition, in ParseModuleDecl()
2639 Actions.ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, HeaderUnit); in ParseModuleImport()
2641 Import = Actions.ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Path, in ParseModuleImport()
2676 Actions.CodeCompleteModuleImport(UseLoc, Path); in ParseModuleName()
2709 Actions.ActOnModuleEnd(Tok.getLocation(), in parseMisplacedModuleImport()
2721 Actions.ActOnModuleBegin(Tok.getLocation(), in parseMisplacedModuleImport()
2730 Actions.ActOnModuleInclude(Tok.getLocation(), in parseMisplacedModuleImport()