Home
last modified time | relevance | path

Searched refs:StmtResult (Results 1 – 20 of 20) sorted by relevance

/freebsd-10-stable/contrib/llvm/tools/clang/lib/Parse/
DParseStmt.cpp46 StmtResult Parser::ParseStatement(SourceLocation *TrailingElseLoc) { in ParseStatement()
47 StmtResult Res; in ParseStatement()
108 StmtResult
117 StmtResult Res = ParseStatementOrDeclarationAfterAttributes(Stmts, in ParseStatementOrDeclaration()
161 StmtResult
166 StmtResult Res; in ParseStatementOrDeclarationAfterAttributes()
366 StmtResult Parser::ParseExprStatement() { in ParseExprStatement()
398 StmtResult Parser::ParseSEHTryBlock() { in ParseSEHTryBlock()
413 StmtResult Parser::ParseSEHTryBlockCommon(SourceLocation TryLoc) { in ParseSEHTryBlockCommon()
417 StmtResult TryBlock(ParseCompoundStatement()); in ParseSEHTryBlockCommon()
[all …]
DParseOpenMP.cpp82 StmtResult Parser::ParseOpenMPDeclarativeOrExecutableDirective() { in ParseOpenMPDeclarativeOrExecutableDirective()
97 StmtResult Directive = StmtError(); in ParseOpenMPDeclarativeOrExecutableDirective()
143 StmtResult AssociatedStmt; in ParseOpenMPDeclarativeOrExecutableDirective()
DParseObjc.cpp1775 StmtResult Parser::ParseObjCThrowStmt(SourceLocation atLoc) { in ParseObjCThrowStmt()
1793 StmtResult
1828 StmtResult body(ParseCompoundStatementBody()); in ParseObjCSynchronizedStmt()
1853 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) { in ParseObjCTryStmt()
1862 StmtResult FinallyStmt; in ParseObjCTryStmt()
1864 StmtResult TryBody(ParseCompoundStatementBody()); in ParseObjCTryStmt()
1904 StmtResult CatchBody(true); in ParseObjCTryStmt()
1912 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc, in ParseObjCTryStmt()
1930 StmtResult FinallyBody(true); in ParseObjCTryStmt()
1956 StmtResult
[all …]
DParsePragma.cpp127 StmtResult Parser::HandlePragmaCaptured() in HandlePragmaCaptured()
143 StmtResult R = ParseCompoundStatement(); in HandlePragmaCaptured()
DParseExpr.cpp2064 StmtResult Stmt(ParseCompoundStatement(true)); in ParseParenExpression()
2592 StmtResult Stmt(ParseCompoundStatementBody()); in ParseBlockLiteralExpression()
DParseExprCXX.cpp1130 StmtResult Stmt(ParseCompoundStatementBody()); in ParseLambdaExpressionAfterIntroducer()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Parse/
DParser.h243 typedef clang::StmtResult StmtResult; typedef
253 StmtResult StmtError() { return StmtResult(true); } in StmtError()
256 StmtResult StmtError(const DiagnosticBuilder &) { return StmtError(); } in StmtError()
456 StmtResult HandlePragmaCaptured();
1493 StmtResult ParseStatement(SourceLocation *TrailingElseLoc = 0);
1494 StmtResult ParseStatementOrDeclaration(StmtVector &Stmts,
1497 StmtResult ParseStatementOrDeclarationAfterAttributes(
1502 StmtResult ParseExprStatement();
1503 StmtResult ParseLabeledStatement(ParsedAttributesWithRange &attrs);
1504 StmtResult ParseCaseStatement(bool MissingCase = false,
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
DOwnership.h257 typedef ActionResult<Stmt*> StmtResult;
272 inline StmtResult StmtError() { return StmtResult(true); }
275 inline StmtResult StmtError(const DiagnosticBuilder&) { return StmtError(); }
278 inline StmtResult StmtEmpty() { return StmtResult(false); }
285 inline Stmt *AssertSuccess(StmtResult R) {
DSema.h959 StmtResult Owned(Stmt* S) { return S; } in Owned()
2578 StmtResult ProcessStmtAttributes(Stmt *Stmt, AttributeList *Attrs,
2848 StmtResult ActOnExprStmt(ExprResult Arg);
2849 StmtResult ActOnExprStmtError();
2851 StmtResult ActOnNullStmt(SourceLocation SemiLoc,
2856 StmtResult ActOnCompoundStmt(SourceLocation L, SourceLocation R,
2874 StmtResult ActOnDeclStmt(DeclGroupPtrTy Decl,
2878 StmtResult ActOnForEachLValueExpr(Expr *E);
2879 StmtResult ActOnCaseStmt(SourceLocation CaseLoc, Expr *LHSVal,
2884 StmtResult ActOnDefaultStmt(SourceLocation DefaultLoc,
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaStmt.cpp38 StmtResult Sema::ActOnExprStmt(ExprResult FE) { in ActOnExprStmt()
56 StmtResult Sema::ActOnExprStmtError() { in ActOnExprStmtError()
61 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt()
66 StmtResult Sema::ActOnDeclStmt(DeclGroupPtrTy dg, SourceLocation StartLoc, in ActOnDeclStmt()
294 StmtResult Sema::ActOnCompoundStmt(SourceLocation L, SourceLocation R, in ActOnCompoundStmt()
337 StmtResult
385 StmtResult
400 StmtResult
420 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, in ActOnAttributedStmt()
428 StmtResult
[all …]
DTreeTransform.h134 static inline StmtResult Owned(Stmt *S) { return S; } in Owned()
319 StmtResult TransformStmt(Stmt *S);
551 StmtResult TransformSEHHandler(Stmt *Handler);
594 StmtResult TransformCompoundStmt(CompoundStmt *S, bool IsStmtExpr);
615 StmtResult Transform##Node(Node *S);
1045 StmtResult RebuildCompoundStmt(SourceLocation LBraceLoc, in RebuildCompoundStmt()
1057 StmtResult RebuildCaseStmt(SourceLocation CaseLoc, in RebuildCaseStmt()
1070 StmtResult RebuildCaseStmtBody(Stmt *S, Stmt *Body) { in RebuildCaseStmtBody()
1079 StmtResult RebuildDefaultStmt(SourceLocation DefaultLoc, in RebuildDefaultStmt()
1090 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt()
[all …]
DSemaStmtAttr.cpp67 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList, in ProcessStmtAttributes()
DSemaStmtAsm.cpp77 StmtResult Sema::ActOnGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple, in ActOnGCCAsmStmt()
472 StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, in ActOnMSAsmStmt()
DSemaOpenMP.cpp647 StmtResult Sema::ActOnOpenMPExecutableDirective(OpenMPDirectiveKind Kind, in ActOnOpenMPExecutableDirective()
654 StmtResult Res = StmtError(); in ActOnOpenMPExecutableDirective()
695 StmtResult Sema::ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses, in ActOnOpenMPParallelDirective()
DSemaDeclCXX.cpp8831 static StmtResult
8910 static StmtResult
9007 return StmtResult((Stmt*)0); in buildSingleCopyAssignRecursively()
9071 StmtResult Copy = in buildSingleCopyAssignRecursively()
9100 static StmtResult
9109 StmtResult Result(buildSingleCopyAssignRecursively(S, Loc, T, To, From, in buildSingleCopyAssign()
9388 StmtResult Copy = buildSingleCopyAssign(*this, Loc, BaseType, in DefineImplicitCopyAssignment()
9461 StmtResult Copy = buildSingleCopyAssign(*this, Loc, FieldType, in DefineImplicitCopyAssignment()
9480 StmtResult Return = ActOnReturnStmt(Loc, ThisObj.get()); in DefineImplicitCopyAssignment()
9499 StmtResult Body; in DefineImplicitCopyAssignment()
[all …]
DSemaTemplateInstantiate.cpp2660 StmtResult
DSemaTemplateInstantiateDecl.cpp3406 StmtResult Body = SubstStmt(Pattern, TemplateArgs); in InstantiateFunctionDefinition()
DSemaExprCXX.cpp6028 StmtResult Sema::ActOnFinishFullStmt(Stmt *FullStmt) { in ActOnFinishFullStmt()
DSemaExpr.cpp10959 StmtResult TransformLabelStmt(LabelStmt *S) { in TransformLabelStmt()
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Expression/
DASTResultSynthesizer.cpp408 StmtResult result_initialization_stmt_result(m_sema->ActOnDeclStmt(result_decl_group_ptr, in SynthesizeBodyResult()