/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 35 StmtResult Parser::ParseStatement(SourceLocation *TrailingElseLoc, in ParseStatement() 37 StmtResult Res; in ParseStatement() 101 StmtResult 113 StmtResult Res = ParseStatementOrDeclarationAfterAttributes( in ParseStatementOrDeclaration() 154 StmtResult 159 StmtResult Res; in ParseStatementOrDeclarationAfterAttributes() 397 StmtResult Parser::ParseExprStatement() { in ParseExprStatement() 438 StmtResult Parser::ParseSEHTryBlock() { in ParseSEHTryBlock() 445 StmtResult TryBlock(ParseCompoundStatement(/*isStmtExpr=*/false, in ParseSEHTryBlock() 450 StmtResult Handler; in ParseSEHTryBlock() [all …]
|
D | ParseObjc.cpp | 2455 StmtResult Parser::ParseObjCThrowStmt(SourceLocation atLoc) { in ParseObjCThrowStmt() 2473 StmtResult 2508 StmtResult body(ParseCompoundStatementBody()); in ParseObjCSynchronizedStmt() 2533 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) { in ParseObjCTryStmt() 2542 StmtResult FinallyStmt; in ParseObjCTryStmt() 2544 StmtResult TryBody(ParseCompoundStatementBody()); in ParseObjCTryStmt() 2584 StmtResult CatchBody(true); in ParseObjCTryStmt() 2592 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc, in ParseObjCTryStmt() 2610 StmtResult FinallyBody(true); in ParseObjCTryStmt() 2636 StmtResult [all …]
|
D | ParseStmtAsm.cpp | 380 StmtResult Parser::ParseMicrosoftAsmStatement(SourceLocation AsmLoc) { in ParseMicrosoftAsmStatement() 669 StmtResult Parser::ParseAsmStatement(bool &msAsm) { in ParseAsmStatement()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseStmt.cpp | 31 StmtResult Parser::ParseStatement(SourceLocation *TrailingElseLoc, in ParseStatement() 33 StmtResult Res; in ParseStatement() 94 StmtResult 106 StmtResult Res = ParseStatementOrDeclarationAfterAttributes( in ParseStatementOrDeclaration() 152 StmtResult Parser::ParseStatementOrDeclarationAfterAttributes( in ParseStatementOrDeclarationAfterAttributes() 156 StmtResult Res; in ParseStatementOrDeclarationAfterAttributes() 439 StmtResult Parser::ParseExprStatement(ParsedStmtContext StmtCtx) { in ParseExprStatement() 482 StmtResult Parser::ParseSEHTryBlock() { in ParseSEHTryBlock() 489 StmtResult TryBlock(ParseCompoundStatement( in ParseSEHTryBlock() 495 StmtResult Handler; in ParseSEHTryBlock() [all …]
|
D | ParseObjc.cpp | 2423 StmtResult Parser::ParseObjCThrowStmt(SourceLocation atLoc) { in ParseObjCThrowStmt() 2441 StmtResult 2476 StmtResult body(ParseCompoundStatementBody()); in ParseObjCSynchronizedStmt() 2501 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) { in ParseObjCTryStmt() 2510 StmtResult FinallyStmt; in ParseObjCTryStmt() 2512 StmtResult TryBody(ParseCompoundStatementBody()); in ParseObjCTryStmt() 2554 StmtResult CatchBody(true); in ParseObjCTryStmt() 2562 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc, in ParseObjCTryStmt() 2587 StmtResult FinallyBody(true); in ParseObjCTryStmt() 2620 StmtResult [all …]
|
D | ParseStmtAsm.cpp | 378 StmtResult Parser::ParseMicrosoftAsmStatement(SourceLocation AsmLoc) { in ParseMicrosoftAsmStatement() 718 StmtResult Parser::ParseAsmStatement(bool &msAsm) { in ParseAsmStatement()
|
/external/clang/include/clang/Sema/ |
D | Ownership.h | 254 typedef ActionResult<Stmt*> StmtResult; 269 inline StmtResult StmtError() { return StmtResult(true); } 272 inline StmtResult StmtError(const DiagnosticBuilder&) { return StmtError(); } 275 inline StmtResult StmtEmpty() { return StmtResult(false); } 282 inline Stmt *AssertSuccess(StmtResult R) {
|
D | Sema.h | 1767 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, 3064 StmtResult ProcessStmtAttributes(Stmt *Stmt, AttributeList *Attrs, 3340 StmtResult ActOnExprStmt(ExprResult Arg); 3341 StmtResult ActOnExprStmtError(); 3343 StmtResult ActOnNullStmt(SourceLocation SemiLoc, 3348 StmtResult ActOnCompoundStmt(SourceLocation L, SourceLocation R, 3378 StmtResult ActOnDeclStmt(DeclGroupPtrTy Decl, 3382 StmtResult ActOnForEachLValueExpr(Expr *E); 3383 StmtResult ActOnCaseStmt(SourceLocation CaseLoc, Expr *LHSVal, 3388 StmtResult ActOnDefaultStmt(SourceLocation DefaultLoc, [all …]
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Ownership.h | 263 using StmtResult = ActionResult<Stmt *>; 279 inline StmtResult StmtError() { return StmtResult(true); } 285 inline StmtResult StmtError(const StreamingDiagnostic &) { 290 inline StmtResult StmtEmpty() { return StmtResult(false); } 297 inline Stmt *AssertSuccess(StmtResult R) {
|
D | Sema.h | 1610 friend StmtResult StmtError(const SemaDiagnosticBuilder &) { in StmtError() 1614 operator StmtResult() const { return StmtError(); } in StmtResult() function 2636 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, 4175 StmtResult ProcessStmtAttributes(Stmt *Stmt, 4460 StmtResult ActOnExprStmt(ExprResult Arg, bool DiscardedValue = true); 4461 StmtResult ActOnExprStmtError(); 4463 StmtResult ActOnNullStmt(SourceLocation SemiLoc, 4469 StmtResult ActOnCompoundStmt(SourceLocation L, SourceLocation R, 4499 StmtResult ActOnDeclStmt(DeclGroupPtrTy Decl, 4503 StmtResult ActOnForEachLValueExpr(Expr *E); [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 536 StmtResult HandlePragmaCaptured(); 1601 Sema::ConditionResult ParseCXXCondition(StmtResult *InitStmt, 1666 StmtResult ParseStatement(SourceLocation *TrailingElseLoc = nullptr, 1676 StmtResult 1679 StmtResult ParseStatementOrDeclarationAfterAttributes( 1684 StmtResult ParseExprStatement(); 1685 StmtResult ParseLabeledStatement(ParsedAttributesWithRange &attrs); 1686 StmtResult ParseCaseStatement(bool MissingCase = false, 1688 StmtResult ParseDefaultStatement(); 1689 StmtResult ParseCompoundStatement(bool isStmtExpr = false); [all …]
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 134 static inline StmtResult Owned(Stmt *S) { return S; } in Owned() 319 StmtResult TransformStmt(Stmt *S); 591 StmtResult TransformSEHHandler(Stmt *Handler); 634 StmtResult TransformCompoundStmt(CompoundStmt *S, bool IsStmtExpr); 652 StmtResult TransformOMPExecutableDirective(OMPExecutableDirective *S); 658 StmtResult Transform##Node(Node *S); 1112 StmtResult RebuildCompoundStmt(SourceLocation LBraceLoc, in RebuildCompoundStmt() 1124 StmtResult RebuildCaseStmt(SourceLocation CaseLoc, in RebuildCaseStmt() 1137 StmtResult RebuildCaseStmtBody(Stmt *S, Stmt *Body) { in RebuildCaseStmtBody() 1146 StmtResult RebuildDefaultStmt(SourceLocation DefaultLoc, in RebuildDefaultStmt() [all …]
|
D | SemaStmt.cpp | 44 StmtResult Sema::ActOnExprStmt(ExprResult FE) { in ActOnExprStmt() 58 return StmtResult(FE.getAs<Stmt>()); in ActOnExprStmt() 62 StmtResult Sema::ActOnExprStmtError() { in ActOnExprStmtError() 67 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt() 72 StmtResult Sema::ActOnDeclStmt(DeclGroupPtrTy dg, SourceLocation StartLoc, in ActOnDeclStmt() 332 StmtResult Sema::ActOnCompoundStmt(SourceLocation L, SourceLocation R, in ActOnCompoundStmt() 375 StmtResult 445 StmtResult 460 StmtResult 484 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, in ActOnAttributedStmt() [all …]
|
D | SemaCoroutine.cpp | 327 StmtResult Sema::ActOnCoreturnStmt(SourceLocation Loc, Expr *E) { in ActOnCoreturnStmt() 330 StmtResult Sema::BuildCoreturnStmt(SourceLocation Loc, Expr *E) { in BuildCoreturnStmt() 391 StmtResult PromiseStmt = in CheckCompletedCoroutineBody()
|
D | SemaOpenMP.cpp | 1782 StmtResult Sema::ActOnOpenMPRegionEnd(StmtResult S, in ActOnOpenMPRegionEnd() 3379 StmtResult Sema::ActOnOpenMPExecutableDirective( in ActOnOpenMPExecutableDirective() 3383 StmtResult Res = StmtError(); in ActOnOpenMPExecutableDirective() 3876 StmtResult Sema::ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses, in ActOnOpenMPParallelDirective() 5453 StmtResult Sema::ActOnOpenMPSimdDirective( in ActOnOpenMPSimdDirective() 5507 StmtResult Sema::ActOnOpenMPForDirective( in ActOnOpenMPForDirective() 5543 StmtResult Sema::ActOnOpenMPForSimdDirective( in ActOnOpenMPForSimdDirective() 5598 StmtResult Sema::ActOnOpenMPSectionsDirective(ArrayRef<OMPClause *> Clauses, in ActOnOpenMPSectionsDirective() 5636 StmtResult Sema::ActOnOpenMPSectionDirective(Stmt *AStmt, in ActOnOpenMPSectionDirective() 5651 StmtResult Sema::ActOnOpenMPSingleDirective(ArrayRef<OMPClause *> Clauses, in ActOnOpenMPSingleDirective() [all …]
|
D | SemaStmtAttr.cpp | 295 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList, in ProcessStmtAttributes()
|
D | SemaStmtAsm.cpp | 141 StmtResult Sema::ActOnGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple, in ActOnGCCAsmStmt() 723 StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, in ActOnMSAsmStmt()
|
/external/llvm-project/clang/lib/Sema/ |
D | TreeTransform.h | 140 static inline StmtResult Owned(Stmt *S) { return S; } in Owned() 363 StmtResult TransformStmt(Stmt *S, StmtDiscardKind SDK = SDK_Discarded); 651 StmtResult TransformSEHHandler(Stmt *Handler); 693 StmtResult TransformLambdaBody(LambdaExpr *E, Stmt *Body); 696 StmtResult SkipLambdaBody(LambdaExpr *E, Stmt *Body); 700 StmtResult TransformCompoundStmt(CompoundStmt *S, bool IsStmtExpr); 718 StmtResult TransformOMPExecutableDirective(OMPExecutableDirective *S); 724 StmtResult Transform##Node(Node *S); 727 StmtResult Transform##Node(Node *S, StmtDiscardKind SDK); 1258 StmtResult RebuildCompoundStmt(SourceLocation LBraceLoc, in RebuildCompoundStmt() [all …]
|
D | SemaStmt.cpp | 45 StmtResult Sema::ActOnExprStmt(ExprResult FE, bool DiscardedValue) { in ActOnExprStmt() 58 return StmtResult(FE.getAs<Stmt>()); in ActOnExprStmt() 62 StmtResult Sema::ActOnExprStmtError() { in ActOnExprStmtError() 67 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt() 72 StmtResult Sema::ActOnDeclStmt(DeclGroupPtrTy dg, SourceLocation StartLoc, in ActOnDeclStmt() 404 StmtResult Sema::ActOnCompoundStmt(SourceLocation L, SourceLocation R, in ActOnCompoundStmt() 491 StmtResult 521 StmtResult 534 StmtResult 558 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, in ActOnAttributedStmt() [all …]
|
D | SemaCoroutine.cpp | 745 auto buildSuspends = [&](StringRef Name) mutable -> StmtResult { in ActOnCoroutineBodyStart() 765 StmtResult InitSuspend = buildSuspends("initial_suspend"); in ActOnCoroutineBodyStart() 769 StmtResult FinalSuspend = buildSuspends("final_suspend"); in ActOnCoroutineBodyStart() 975 StmtResult Sema::ActOnCoreturnStmt(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoreturnStmt() 983 StmtResult Sema::BuildCoreturnStmt(SourceLocation Loc, Expr *E, in BuildCoreturnStmt() 1162 StmtResult PromiseStmt = in makePromiseStmt() 1232 StmtResult ReturnStmt = in makeReturnOnAllocFailure() 1442 StmtResult Fallthrough; in makeOnFallthrough() 1602 StmtResult GroDeclStmt = in makeGroDeclAndReturnStmt() 1613 StmtResult ReturnStmt = S.BuildReturnStmt(Loc, declRef.get()); in makeGroDeclAndReturnStmt() [all …]
|
D | SemaOpenMP.cpp | 4338 StmtResult Sema::ActOnOpenMPRegionEnd(StmtResult S, in ActOnOpenMPRegionEnd() 4444 StmtResult SR = S; in ActOnOpenMPRegionEnd() 5044 StmtResult Sema::ActOnOpenMPExecutableDirective( in ActOnOpenMPExecutableDirective() 5048 StmtResult Res = StmtError(); in ActOnOpenMPExecutableDirective() 6369 StmtResult Sema::ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses, in ActOnOpenMPParallelDirective() 8905 StmtResult 8944 StmtResult 8981 StmtResult Sema::ActOnOpenMPForSimdDirective( in ActOnOpenMPForSimdDirective() 9020 StmtResult Sema::ActOnOpenMPSectionsDirective(ArrayRef<OMPClause *> Clauses, in ActOnOpenMPSectionsDirective() 9059 StmtResult Sema::ActOnOpenMPSectionDirective(Stmt *AStmt, in ActOnOpenMPSectionDirective() [all …]
|
D | SemaStmtAsm.cpp | 241 StmtResult Sema::ActOnGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple, in ActOnGCCAsmStmt() 899 StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, in ActOnMSAsmStmt()
|
/external/llvm-project/clang/include/clang/Parse/ |
D | Parser.h | 427 StmtResult handleExprStmt(ExprResult E, ParsedStmtContext StmtCtx); 762 StmtResult HandlePragmaCaptured(); 1991 Sema::ConditionResult ParseCXXCondition(StmtResult *InitStmt, 2064 StmtResult 2067 StmtResult ParseStatementOrDeclaration( 2070 StmtResult ParseStatementOrDeclarationAfterAttributes( 2075 StmtResult ParseExprStatement(ParsedStmtContext StmtCtx); 2076 StmtResult ParseLabeledStatement(ParsedAttributesWithRange &attrs, 2078 StmtResult ParseCaseStatement(ParsedStmtContext StmtCtx, 2081 StmtResult ParseDefaultStatement(ParsedStmtContext StmtCtx); [all …]
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ASTResultSynthesizer.cpp | 374 StmtResult result_initialization_stmt_result(m_sema->ActOnDeclStmt( in SynthesizeBodyResult()
|
/external/llvm-project/polly/lib/Transform/ |
D | ZoneAlgo.cpp | 715 auto StmtResult = getScalarReachingDefinition(Stmt); in getScalarReachingDefinition() local 717 return StmtResult.intersect_range(DomainDef); in getScalarReachingDefinition()
|