Home
last modified time | relevance | path

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

123

/external/clang/lib/Parse/
DParsePragma.h24 Sema &Actions; variable
26 explicit PragmaAlignHandler(Sema &A) : PragmaHandler("align"), Actions(A) {} in PragmaAlignHandler()
42 Sema &Actions; variable
45 Actions(A) {} in PragmaOptionsHandler()
52 Sema &Actions; variable
55 Actions(A) {} in PragmaPackHandler()
62 Sema &Actions; variable
65 Actions(A) {} in PragmaMSStructHandler()
81 Sema &Actions; variable
84 : PragmaHandler("weak"), Actions(A) {} in PragmaWeakHandler()
[all …]
DParseStmt.cpp98 return Actions.ProcessStmtAttributes(Res.get(), Attrs.getList(), Attrs.Range); in ParseStatementOrDeclaration()
123 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes()
176 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd); in ParseStatementOrDeclarationAfterAttributes()
196 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro); in ParseStatementOrDeclarationAfterAttributes()
234 Res = Actions.ActOnFinishFullStmt(Res.get()); in ParseStatementOrDeclarationAfterAttributes()
291 Actions.CheckCaseExpression(Expr.get())) { in ParseExprStatement()
303 return Actions.ActOnExprStmt(Actions.MakeFullExpr(Expr.get())); in ParseExprStatement()
344 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */, in ParseSEHTryBlockCommon()
389 return Actions.ActOnSEHExceptBlock(ExceptLoc, FilterExpr.take(), Block.take()); in ParseSEHExceptBlock()
406 return Actions.ActOnSEHFinallyBlock(FinallyBlock,Block.take()); in ParseSEHFinallyBlock()
[all …]
DParseObjc.cpp36 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives()
79 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseObjCAtDirectives()
97 return Actions.ConvertDeclToDeclGroup(0); in ParseObjCAtClassDeclaration()
111 return Actions.ConvertDeclToDeclGroup(0); in ParseObjCAtClassDeclaration()
113 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(), in ParseObjCAtClassDeclaration()
120 Sema::ObjCContainerKind ock = Actions.getObjCContainerKind(); in CheckNestedObjCContexts()
124 Decl *Decl = Actions.getObjCDeclContext(); in CheckNestedObjCContexts()
128 Actions.ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts()
175 Actions.CodeCompleteObjCInterfaceDecl(getCurScope()); in ParseObjCAtInterfaceDeclaration()
197 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration()
[all …]
DParseCXXInlineMethods.cpp44 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef()
47 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef()
51 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs, in ParseCXXInlineMethodDef()
56 Actions.AddInitializerToDecl(FnD, Init.get(), false, in ParseCXXInlineMethodDef()
59 Actions.ActOnUninitializedDecl(FnD, TypeSpecContainsAuto); in ParseCXXInlineMethodDef()
83 Actions.SetDeclDeleted(FnD, KWLoc); in ParseCXXInlineMethodDef()
91 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef()
113 ((Actions.CurContext->isDependentContext() || in ParseCXXInlineMethodDef()
115 !Actions.IsInsideALocalClassWithinATemplateFunction())) { in ParseCXXInlineMethodDef()
125 Actions.CheckForFunctionRedefinition(FD); in ParseCXXInlineMethodDef()
[all …]
DParseExpr.cpp210 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension()
219 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseAssignmentExpression()
260 EnterExpressionEvaluationContext Unevaluated(Actions, in ParseConstantExpression()
265 return Actions.ActOnConstantExpression(Res); in ParseConstantExpression()
347 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get()); in ParseRHSOfBinaryExpression()
391 << /*LHS*/0 << PP.getSpelling(Tok) << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
414 << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
418 << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
432 SourceRange(Actions.getExprRange(LHS.get()).getBegin(), in ParseRHSOfBinaryExpression()
433 Actions.getExprRange(RHS.get()).getEnd())); in ParseRHSOfBinaryExpression()
[all …]
DParser.cpp51 : PP(pp), Actions(actions), Diags(PP.getDiagnostics()), in Parser()
56 Actions.CurScope = 0; in Parser()
366 Actions.CurScope = N; in EnterScope()
368 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
379 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
382 Actions.CurScope = OldScope->getParent(); in ExitScope()
416 Actions.CurScope = 0; in ~Parser()
467 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
565 Actions.SetLateTemplateParser(LateTemplateParserCallback, this); in ParseTopLevelDecl()
567 Actions.ActOnEndOfTranslationUnit(); in ParseTopLevelDecl()
[all …]
DParseExprCXX.cpp90 if (!Actions.isTemplateName(getCurScope(), SS, /*hasTemplateKeyword=*/false, in CheckForTemplateAndDigraph()
145 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseOptionalCXXScopeSpecifier()
161 if (Actions.ActOnCXXGlobalScopeSpecifier(getCurScope(), ConsumeToken(), SS)) in ParseOptionalCXXScopeSpecifier()
183 if (Actions.ActOnCXXNestedNameSpecifierDecltype(SS, DS, CCLoc)) in ParseOptionalCXXScopeSpecifier()
206 Actions.CodeCompleteQualifiedId(getCurScope(), SS, EnteringContext); in ParseOptionalCXXScopeSpecifier()
269 = Actions.ActOnDependentTemplateName(getCurScope(), in ParseOptionalCXXScopeSpecifier()
307 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), in ParseOptionalCXXScopeSpecifier()
343 if (Actions.IsInvalidUnlessNestedName(getCurScope(), SS, II, in ParseOptionalCXXScopeSpecifier()
361 !Actions.isNonTypeNestedNameSpecifier(getCurScope(), SS, Tok.getLocation(), in ParseOptionalCXXScopeSpecifier()
375 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc, in ParseOptionalCXXScopeSpecifier()
[all …]
DParseTemplate.cpp150 Actions.ActOnTemplateParameterList(Depth, ExportLoc, in ParseTemplateDeclarationOrSpecialization()
232 Decl *Decl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); in ParseSingleDeclarationAfterTemplate()
525 return Actions.ActOnTypeParameter(getCurScope(), TypenameKeyword, Ellipsis, in ParseTypeParameter()
602 Actions.ActOnTemplateParameterList(Depth, SourceLocation(), in ParseTemplateTemplateParameter()
623 return Actions.ActOnTemplateTemplateParameter(getCurScope(), TemplateLoc, in ParseTemplateTemplateParameter()
665 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated); in ParseNonTypeTemplateParameter()
673 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter()
897 = Actions.ActOnTemplateIdType(SS, TemplateKWLoc, in AnnotateTemplateIdToken()
973 = Actions.ActOnTemplateIdType(TemplateId->SS, in AnnotateTemplateIdTokenAsType()
1041 Actions.ActOnDependentTemplateName(getCurScope(), in ParseTemplateTemplateArgument()
[all …]
DParseDecl.cpp59 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName()
490 Actions.getASTContext(), in ParseOpenCLQualifiers()
496 Actions.getASTContext(), in ParseOpenCLQualifiers()
502 Actions.getASTContext(), in ParseOpenCLQualifiers()
508 Actions.getASTContext(), in ParseOpenCLQualifiers()
514 Actions.getASTContext(), in ParseOpenCLQualifiers()
520 Actions.getASTContext(), in ParseOpenCLQualifiers()
526 Actions.getASTContext(), in ParseOpenCLQualifiers()
841 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedAttributes()
851 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes()
[all …]
DParseDeclCXX.cpp59 Actions.CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace()
160 Actions.ActOnStartNamespaceDef(getCurScope(), InlineLoc, NamespaceLoc, in ParseNamespace()
164 PrettyDeclStackTraceEntry CrashInfo(Actions, NamespcDecl, NamespaceLoc, in ParseNamespace()
176 Actions.ActOnFinishNamespaceDef(NamespcDecl, DeclEnd); in ParseNamespace()
206 Actions.ActOnStartNamespaceDef(getCurScope(), SourceLocation(), in ParseInnerNamespace()
216 Actions.ActOnFinishNamespaceDef(NamespcDecl, Tracker.getCloseLocation()); in ParseInnerNamespace()
231 Actions.CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias()
256 return Actions.ActOnNamespaceAliasDef(getCurScope(), NamespaceLoc, AliasLoc, Alias, in ParseNamespaceAlias()
284 = Actions.ActOnStartLinkageSpecification(getCurScope(), in ParseLinkage()
302 return Actions.ActOnFinishLinkageSpecification(getCurScope(), LinkageSpec, in ParseLinkage()
[all …]
DParsePragma.cpp28 Actions.ActOnPragmaUnused(Tok, getCurScope(), UnusedLoc); in HandlePragmaUnused()
37 Actions.ActOnPragmaVisibility(VisType, VisLoc); in HandlePragmaVisibility()
53 Actions.ActOnPragmaPack(Info->Kind, Info->Name, Info->Alignment, PragmaLoc, in HandlePragmaPack()
137 Alignment = Actions.ActOnNumericConstant(Tok); in HandlePragma()
168 Alignment = Actions.ActOnNumericConstant(Tok); in HandlePragma()
185 Alignment = Actions.ActOnNumericConstant(Tok); in HandlePragma()
268 Actions.ActOnPragmaMSStruct(Kind); in HandlePragma()
273 static void ParseAlignPragma(Sema &Actions, Preprocessor &PP, Token &FirstTok, in ParseAlignPragma() argument
328 Actions.ActOnPragmaOptionsAlign(Kind, FirstTok.getLocation(), KindLoc); in ParseAlignPragma()
334 ParseAlignPragma(Actions, PP, AlignTok, /*IsOptions=*/false); in HandlePragma()
[all …]
DParseInit.cpp173 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
274 = Actions.getObjCMessageKind(getCurScope(), II, IILoc, in ParseInitializerWithPotentialDesignator()
365 return Actions.ActOnDesignatedInitializer(Desig, EqualLoc, false, in ParseInitializerWithPotentialDesignator()
378 return Actions.ActOnDesignatedInitializer(Desig, Tok.getLocation(), in ParseInitializerWithPotentialDesignator()
415 return Actions.ActOnInitList(LBraceLoc, MultiExprArg(), ConsumeBrace()); in ParseBraceInitializer()
443 SubElt = Actions.ActOnPackExpansion(SubElt.get(), ConsumeToken()); in ParseBraceInitializer()
478 return Actions.ActOnInitList(LBraceLoc, InitExprs, in ParseBraceInitializer()
526 SubElt = Actions.ActOnPackExpansion(SubElt.get(), ConsumeToken()); in ParseMicrosoftIfExistsBraceInitializer()
DRAIIObjectsForParser.h85 Sema &Actions; variable
97 : Actions(P.getActions()), DiagnosticPool(NULL) { in ParsingDeclRAIIObject()
104 : Actions(P.getActions()), DiagnosticPool(parentPool) { in ParsingDeclRAIIObject()
112 : Actions(P.getActions()), in ParsingDeclRAIIObject()
157 State = Actions.PushParsingDeclaration(DiagnosticPool); in push()
163 Actions.PopParsingDeclaration(State, D); in pop()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfException.cpp78 SmallVectorImpl<ActionEntry> &Actions, in ComputeActionsTable() argument
134 assert(Actions.size()); in ComputeActionsTable()
135 PrevAction = Actions.size() - 1; in ComputeActionsTable()
137 MCAsmInfo::getSLEB128Size(Actions[PrevAction].NextAction) + in ComputeActionsTable()
138 MCAsmInfo::getSLEB128Size(Actions[PrevAction].ValueForTypeID); in ComputeActionsTable()
143 MCAsmInfo::getSLEB128Size(Actions[PrevAction].ValueForTypeID); in ComputeActionsTable()
144 SizeAction += -Actions[PrevAction].NextAction; in ComputeActionsTable()
145 PrevAction = Actions[PrevAction].Previous; in ComputeActionsTable()
161 Actions.push_back(Action); in ComputeActionsTable()
162 PrevAction = Actions.size() - 1; in ComputeActionsTable()
[all …]
DDwarfException.h84 SmallVectorImpl<ActionEntry> &Actions,
/external/clang/include/clang/Driver/
DCompilation.h43 ActionList Actions; variable
81 ActionList &getActions() { return Actions; } in getActions()
82 const ActionList &getActions() const { return Actions; } in getActions()
DDriver.h275 const InputList &Inputs, ActionList &Actions) const;
285 ActionList &Actions) const;
/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
/external/llvm/test/CodeGen/X86/
Dfold-call-3.ll10 …RawPointerPerformanceTestPvRN5clang6ActionE(i8* %Val, %"struct.clang::Action"* %Actions) nounwind {
18 …%3 = getelementptr %"struct.clang::Action"* %Actions, i64 0, i32 0, i32 0 ; <i32 (...)***> [#uses…
32 …%10 = call { i64, i64 } %9(%"struct.clang::Action"* %Actions, i8* %Val_addr.02) nounwind ; <{ i64…
/external/llvm/lib/ExecutionEngine/JIT/
DJITDwarfEmitter.cpp239 SmallVector<ActionEntry, 32> Actions; in EmitExceptionTable() local
257 assert(Actions.size()); in EmitExceptionTable()
258 PrevAction = &Actions.back(); in EmitExceptionTable()
280 Actions.push_back(Action); in EmitExceptionTable()
282 PrevAction = &Actions.back(); in EmitExceptionTable()
443 for (unsigned I = 0, N = Actions.size(); I != N; ++I) { in EmitExceptionTable()
444 ActionEntry &Action = Actions[I]; in EmitExceptionTable()
/external/clang/lib/Driver/
DCompilation.cpp46 for (ActionList::iterator it = Actions.begin(), ie = Actions.end(); in ~Compilation()
211 DeleteContainerPointers(Actions); in initCompilationForDiagnostics()
DDriver.cpp867 ActionList &Actions) const { in BuildUniversalActions()
938 Actions.append(Inputs.begin(), Inputs.end()); in BuildUniversalActions()
940 Actions.push_back(new LipoJobAction(Inputs, Act->getType())); in BuildUniversalActions()
946 ContainsCompileOrAssembleAction(Actions.back())) { in BuildUniversalActions()
954 Inputs.push_back(Actions.back()); in BuildUniversalActions()
955 Actions.pop_back(); in BuildUniversalActions()
956 Actions.push_back(new DsymutilJobAction(Inputs, types::TY_dSYM)); in BuildUniversalActions()
962 VerifyInputs.push_back(Actions.back()); in BuildUniversalActions()
963 Actions.pop_back(); in BuildUniversalActions()
964 Actions.push_back(new VerifyJobAction(VerifyInputs, in BuildUniversalActions()
[all …]
/external/bison/tests/
Dsynclines.at1 # Executing Actions. -*- Autotest -*-
19 AT_BANNER([[User Actions.]])
/external/clang/include/clang/Parse/
DParser.h109 Sema &Actions; variable
227 Parser(Preprocessor &PP, Sema &Actions, bool SkipFunctionBodies);
233 Sema &getActions() const { return Actions; } in getActions()
237 Scope *getCurScope() const { return Actions.getCurScope(); } in getCurScope()
239 Decl *getObjCDeclContext() const { return Actions.getObjCDeclContext(); } in getObjCDeclContext()
611 P.Actions.ActOnObjCTemporaryExitContainerContext(cast<DeclContext>(DC)); in ObjCDeclContextSwitch()
615 P.Actions.ActOnObjCReenterContainerContext(cast<DeclContext>(DC)); in ~ObjCDeclContextSwitch()
1931 if (!P.Actions.ActOnCXXEnterDeclaratorScope(P.getCurScope(), SS)) in EnterDeclaratorScope()
1938 P.Actions.ActOnCXXExitDeclaratorScope(P.getCurScope(), SS); in ~DeclaratorScopeObj()
/external/bison/doc/
Dbison.info87 * Semantic Actions:: Each rule can have an action containing C code.
99 * GLR Semantic Actions:: Deferred semantic actions have special concerns.
164 * Actions:: An action is the semantic definition of a grammar rule.
166 * Mid-Rule Actions:: Most actions go at the end of a rule.
173 * Actions and Locations:: Using locations in actions.
734 * Semantic Actions:: Each rule can have an action containing C code.
900 File: bison.info, Node: Semantic Values, Next: Semantic Actions, Prev: Grammar in Bison, Up: Co…
943 File: bison.info, Node: Semantic Actions, Next: GLR Parsers, Prev: Semantic Values, Up: Concepts
945 1.4 Semantic Actions
952 *Note Actions::.
[all …]

123