Home
last modified time | relevance | path

Searched refs:Actions (Results 1 – 25 of 108) sorted by relevance

12345

/external/clang/lib/Parse/
DParseStmt.cpp122 return Actions.ProcessStmtAttributes(Res.get(), Attrs.getList(), Attrs.Range); in ParseStatementOrDeclaration()
176 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes()
217 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd); in ParseStatementOrDeclarationAfterAttributes()
237 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro); in ParseStatementOrDeclarationAfterAttributes()
279 Res = Actions.ActOnFinishFullStmt(Res.get()); in ParseStatementOrDeclarationAfterAttributes()
410 return Actions.ActOnExprStmtError(); in ParseExprStatement()
414 Actions.CheckCaseExpression(Expr.get())) { in ParseExprStatement()
426 return Actions.ActOnExprStmt(Expr); in ParseExprStatement()
465 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */, in ParseSEHTryBlock()
497 FilterExpr = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseSEHExceptBlock()
[all …]
DParseObjc.cpp52 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives()
88 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtDirectives()
95 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseObjCAtDirectives()
100 Sema &Actions; member in Parser::ObjCTypeParamListScope
105 ObjCTypeParamListScope(Sema &Actions, Scope *S) in ObjCTypeParamListScope() argument
106 : Actions(Actions), S(S), Params(nullptr) {} in ObjCTypeParamListScope()
119 Actions.popObjCTypeParamList(S, Params); in leave()
143 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
160 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
162 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(), in ParseObjCAtClassDeclaration()
[all …]
DParseExpr.cpp150 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension()
159 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseAssignmentExpression()
202 EnterExpressionEvaluationContext Unevaluated(Actions, in ParseConstantExpression()
207 return Actions.ActOnConstantExpression(Res); in ParseConstantExpression()
303 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
347 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get()); in ParseRHSOfBinaryExpression()
375 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
377 TernaryMiddle = Actions.CorrectDelayedTyposInExpr(TernaryMiddle); in ParseRHSOfBinaryExpression()
397 << /*LHS*/0 << PP.getSpelling(Tok) << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
412 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
[all …]
DParser.cpp72 : PP(pp), Actions(actions), Diags(PP.getDiagnostics()), in Parser()
79 Actions.CurScope = nullptr; in Parser()
228 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi()
377 Actions.CurScope = N; in EnterScope()
379 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
389 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
392 Actions.CurScope = OldScope->getParent(); in ExitScope()
426 Actions.CurScope = nullptr; in ~Parser()
456 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
527 Actions.Initialize(); in Initialize()
[all …]
DParseCXXInlineMethods.cpp42 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef()
45 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef()
49 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs); in ParseCXXInlineMethodDef()
51 Actions.ActOnPureSpecifier(FnD, PureSpecLoc); in ParseCXXInlineMethodDef()
74 Actions.SetDeclDeleted(FnD, KWLoc); in ParseCXXInlineMethodDef()
84 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef()
104 if (SkipFunctionBodies && (!FnD || Actions.canSkipFunctionBody(FnD)) && in ParseCXXInlineMethodDef()
106 Actions.ActOnSkippedFunctionBody(FnD); in ParseCXXInlineMethodDef()
118 ((Actions.CurContext->isDependentContext() || in ParseCXXInlineMethodDef()
121 !Actions.IsInsideALocalClassWithinATemplateFunction())) { in ParseCXXInlineMethodDef()
[all …]
DParseExprCXX.cpp94 if (!Actions.isTemplateName(getCurScope(), SS, /*hasTemplateKeyword=*/false, in CheckForTemplateAndDigraph()
199 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseOptionalCXXScopeSpecifier()
237 if (Actions.ActOnCXXGlobalScopeSpecifier(ConsumeToken(), SS)) in ParseOptionalCXXScopeSpecifier()
253 return Actions.ActOnSuperScopeSpecifier(SuperLoc, ConsumeToken(), SS); in ParseOptionalCXXScopeSpecifier()
268 if (Actions.ActOnCXXNestedNameSpecifierDecltype(SS, DS, CCLoc)) in ParseOptionalCXXScopeSpecifier()
291 Actions.CodeCompleteQualifiedId(getCurScope(), SS, EnteringContext); in ParseOptionalCXXScopeSpecifier()
358 = Actions.ActOnDependentTemplateName(getCurScope(), in ParseOptionalCXXScopeSpecifier()
399 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), in ParseOptionalCXXScopeSpecifier()
434 if (Actions.IsInvalidUnlessNestedName(getCurScope(), SS, II, in ParseOptionalCXXScopeSpecifier()
462 !Actions.isNonTypeNestedNameSpecifier( in ParseOptionalCXXScopeSpecifier()
[all …]
DParseOpenMP.cpp145 Sema &Actions = P.getActions(); in parseOpenMPReductionId() local
189 auto &DeclNames = Actions.getASTContext().DeclarationNames; in parseOpenMPReductionId()
242 Actions.ActOnOpenMPDeclareReductionType(Range.getBegin(), TR); in ParseOpenMPDeclareReductionDirective()
282 DeclGroupPtrTy DRD = Actions.ActOnOpenMPDeclareReductionDirectiveStart( in ParseOpenMPDeclareReductionDirective()
283 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, AS); in ParseOpenMPDeclareReductionDirective()
293 Actions.ActOnOpenMPDeclareReductionCombinerStart(getCurScope(), D); in ParseOpenMPDeclareReductionDirective()
295 Actions.ActOnFinishFullExpr(ParseAssignmentExpression().get(), in ParseOpenMPDeclareReductionDirective()
297 Actions.ActOnOpenMPDeclareReductionCombinerEnd(D, CombinerResult.get()); in ParseOpenMPDeclareReductionDirective()
328 Actions.ActOnOpenMPDeclareReductionInitializerStart(getCurScope(), D); in ParseOpenMPDeclareReductionDirective()
329 InitializerResult = Actions.ActOnFinishFullExpr( in ParseOpenMPDeclareReductionDirective()
[all …]
DParseDecl.cpp70 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName()
235 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc()
307 new EnterExpressionEvaluationContext(Actions, Sema::Unevaluated)); in ParseAttributeArgsCommon()
310 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression())); in ParseAttributeArgsCommon()
378 Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); in ParseGNUAttributeArgs()
1165 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedAttributes()
1175 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes()
1184 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes()
1234 Sema::CXXThisScopeRAII ThisScope(Actions, RD, /*TypeQuals=*/0, in ParseLexedAttribute()
1242 Actions.ActOnReenterTemplateScope(Actions.CurScope, D); in ParseLexedAttribute()
[all …]
DParseTemplate.cpp132 Actions.CorrectDelayedTyposInExpr(ParseConstraintExpression()); in ParseTemplateDeclarationOrSpecialization()
144 ParamLists.push_back(Actions.ActOnTemplateParameterList( in ParseTemplateDeclarationOrSpecialization()
215 Decl *Decl = Actions.ParsedFreeStandingDeclSpec( in ParseSingleDeclarationAfterTemplate()
287 FakedParamLists.push_back(Actions.ActOnTemplateParameterList( in ParseSingleDeclarationAfterTemplate()
548 return Actions.ActOnTypeParameter(getCurScope(), TypenameKeyword, EllipsisLoc, in ParseTypeParameter()
637 Actions.ActOnTemplateParameterList(Depth, SourceLocation(), in ParseTemplateTemplateParameter()
657 return Actions.ActOnTemplateTemplateParameter(getCurScope(), TemplateLoc, in ParseTemplateTemplateParameter()
702 EnterExpressionEvaluationContext ConstantEvaluated(Actions, in ParseNonTypeTemplateParameter()
705 DefaultArg = Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); in ParseNonTypeTemplateParameter()
711 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter()
[all …]
DParseDeclCXX.cpp66 Actions.CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace()
120 return Actions.ConvertDeclToDeclGroup(NSAlias); in ParseNamespace()
186 Actions.ActOnStartNamespaceDef(getCurScope(), InlineLoc, NamespaceLoc, in ParseNamespace()
190 PrettyDeclStackTraceEntry CrashInfo(Actions, NamespcDecl, NamespaceLoc, in ParseNamespace()
202 Actions.ActOnFinishNamespaceDef(NamespcDecl, DeclEnd); in ParseNamespace()
204 return Actions.ConvertDeclToDeclGroup(NamespcDecl, in ParseNamespace()
237 Actions.ActOnStartNamespaceDef(getCurScope(), SourceLocation(), in ParseInnerNamespace()
248 Actions.ActOnFinishNamespaceDef(NamespcDecl, Tracker.getCloseLocation()); in ParseInnerNamespace()
263 Actions.CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias()
288 return Actions.ActOnNamespaceAliasDef(getCurScope(), NamespaceLoc, AliasLoc, in ParseNamespaceAlias()
[all …]
DParseInit.cpp155 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
253 switch (Actions.getObjCMessageKind( in ParseInitializerWithPotentialDesignator()
355 return Actions.ActOnDesignatedInitializer(Desig, EqualLoc, false, in ParseInitializerWithPotentialDesignator()
368 return Actions.ActOnDesignatedInitializer(Desig, Tok.getLocation(), in ParseInitializerWithPotentialDesignator()
405 return Actions.ActOnInitList(LBraceLoc, None, ConsumeBrace()); in ParseBraceInitializer()
433 SubElt = Actions.ActOnPackExpansion(SubElt.get(), ConsumeToken()); in ParseBraceInitializer()
435 SubElt = Actions.CorrectDelayedTyposInExpr(SubElt.get()); in ParseBraceInitializer()
470 return Actions.ActOnInitList(LBraceLoc, InitExprs, in ParseBraceInitializer()
518 SubElt = Actions.ActOnPackExpansion(SubElt.get(), ConsumeToken()); in ParseMicrosoftIfExistsBraceInitializer()
DParsePragma.cpp103 PragmaCommentHandler(Sema &Actions) in PragmaCommentHandler()
104 : PragmaHandler("comment"), Actions(Actions) {} in PragmaCommentHandler()
108 Sema &Actions; member
112 PragmaDetectMismatchHandler(Sema &Actions) in PragmaDetectMismatchHandler()
113 : PragmaHandler("detect_mismatch"), Actions(Actions) {} in PragmaDetectMismatchHandler()
117 Sema &Actions; member
141 : PragmaHandler("optimize"), Actions(S) {} in PragmaOptimizeHandler()
145 Sema &Actions; member
207 MSCommentHandler.reset(new PragmaCommentHandler(Actions)); in initializePragmaHandlers()
212 MSDetectMismatchHandler.reset(new PragmaDetectMismatchHandler(Actions)); in initializePragmaHandlers()
[all …]
DRAIIObjectsForParser.h91 Sema &Actions; variable
102 : Actions(P.getActions()), DiagnosticPool(nullptr) { in ParsingDeclRAIIObject()
109 : Actions(P.getActions()), DiagnosticPool(parentPool) { in ParsingDeclRAIIObject()
117 : Actions(P.getActions()), in ParsingDeclRAIIObject()
162 State = Actions.PushParsingDeclaration(DiagnosticPool); in push()
168 Actions.PopParsingDeclaration(State, D); in pop()
/external/perfetto/ui/src/controller/
Dtrace_controller.ts21 Actions,
78 globals.dispatch(Actions.setEngineReady({
83 globals.dispatch(Actions.setEngineReady({
195 Actions.setTraceTime(traceTimeState),
196 Actions.navigate({route: '/viewer'}),
200 actions.push(Actions.setVisibleTraceTime({
253 addToTrackActions.push(Actions.addTrack({
274 addToTrackActions.push(Actions.addTrack({
309 addToTrackActions.push(Actions.addTrack({
402 addSummaryTrackActions.push(Actions.addTrack({
[all …]
Dpermalink_controller.ts19 import {Actions} from '../common/actions';
44 globals.dispatch(Actions.setPermalink({requestId, hash}));
51 globals.dispatch(Actions.setState({newState: state}));
141 globals.dispatch(Actions.updateStatus({
/external/perfetto/ui/src/frontend/
Dsidebar.ts17 import {Actions} from '../common/actions';
84 globals.dispatch(Actions.executeQuery({
207 globals.dispatch(Actions.openTraceFromUrl({url}));
223 globals.dispatch(Actions.convertTraceToJson({file}));
229 globals.dispatch(Actions.openTraceFromFile({file}));
234 globals.dispatch(Actions.navigate({route: '/record'}));
239 globals.dispatch(Actions.navigate({route: '/viewer'}));
244 globals.dispatch(Actions.createPermalink({}));
Drouter_jsdomtest.ts17 import {Actions, DeferredAction} from '../common/actions';
77 expect(dispatch.calls[0][1][0]).toEqual(Actions.navigate({route: '/'}));
82 expect(a).toEqual(Actions.navigate({route: '/viewer'}));
97 expect(a).toEqual(Actions.navigate({route: '/'}));
118 expect(dispatch.calls[0][1][0]).toEqual(Actions.navigate({route: '/b'}));
126 expect(dispatch.calls[0][1][0]).toEqual(Actions.navigate({route: '/'}));
Dnotes_panel.ts17 import {Actions} from '../common/actions';
160 globals.dispatch(Actions.selectNote({id: note.id}));
167 globals.dispatch(Actions.addNote({timestamp, color}));
192 globals.dispatch(Actions.changeNoteText({
203 globals.dispatch(Actions.changeNoteColor({
212 globals.dispatch(Actions.removeNote({id: attrs.id})),
Drouter.ts17 import {Actions, DeferredAction} from '../common/actions';
60 this.dispatch(Actions.navigate({route: this.defaultRoute}));
71 this.dispatch(Actions.navigate({route: newRoute}));
Dtopbar.ts17 import {Actions} from '../common/actions';
32 globals.dispatch(Actions.deleteQuery({queryId: QUERY_ID}));
88 Actions.executeQuery({engineId: '0', queryId: QUERY_ID, query}));
91 globals.dispatch(Actions.executeQuery(
Drecord_widgets.ts18 import {Actions} from '../common/actions';
47 globals.dispatch(Actions.setRecordConfig({config: traceCfg}));
83 globals.dispatch(Actions.setRecordConfig({config: traceCfg}));
167 globals.dispatch(Actions.setRecordConfig({config: traceCfg}));
213 globals.dispatch(Actions.setRecordConfig({config: traceCfg}));
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp63 SmallVectorImpl<ActionEntry> &Actions, in computeActionsTable() argument
118 assert(Actions.size()); in computeActionsTable()
119 PrevAction = Actions.size() - 1; in computeActionsTable()
120 SizeAction = getSLEB128Size(Actions[PrevAction].NextAction) + in computeActionsTable()
121 getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable()
125 SizeAction -= getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable()
126 SizeAction += -Actions[PrevAction].NextAction; in computeActionsTable()
127 PrevAction = Actions[PrevAction].Previous; in computeActionsTable()
144 Actions.push_back(Action); in computeActionsTable()
145 PrevAction = Actions.size() - 1; in computeActionsTable()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp51 SmallVectorImpl<ActionEntry> &Actions, in computeActionsTable() argument
107 assert(Actions.size()); in computeActionsTable()
108 PrevAction = Actions.size() - 1; in computeActionsTable()
109 SizeAction = getSLEB128Size(Actions[PrevAction].NextAction) + in computeActionsTable()
110 getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable()
114 SizeAction -= getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable()
115 SizeAction += -Actions[PrevAction].NextAction; in computeActionsTable()
116 PrevAction = Actions[PrevAction].Previous; in computeActionsTable()
133 Actions.push_back(Action); in computeActionsTable()
134 PrevAction = Actions.size() - 1; in computeActionsTable()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfException.cpp77 SmallVectorImpl<ActionEntry> &Actions, in ComputeActionsTable() argument
133 assert(Actions.size()); in ComputeActionsTable()
134 PrevAction = Actions.size() - 1; in ComputeActionsTable()
136 MCAsmInfo::getSLEB128Size(Actions[PrevAction].NextAction) + in ComputeActionsTable()
137 MCAsmInfo::getSLEB128Size(Actions[PrevAction].ValueForTypeID); in ComputeActionsTable()
142 MCAsmInfo::getSLEB128Size(Actions[PrevAction].ValueForTypeID); in ComputeActionsTable()
143 SizeAction += -Actions[PrevAction].NextAction; in ComputeActionsTable()
144 PrevAction = Actions[PrevAction].Previous; in ComputeActionsTable()
160 Actions.push_back(Action); in ComputeActionsTable()
161 PrevAction = Actions.size() - 1; in ComputeActionsTable()
[all …]
/external/clang/include/clang/Sema/
DDesignator.h171 void ClearExprs(Sema &Actions) {} in ClearExprs() argument
175 void FreeExprs(Sema &Actions) {} in FreeExprs() argument
201 void ClearExprs(Sema &Actions) {} in ClearExprs() argument
205 void FreeExprs(Sema &Actions) {} in FreeExprs() argument

12345