|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/Parse/Parser.h 397 StmtResult handleExprStmt(ExprResult E, ParsedStmtContext StmtCtx);
728 StmtResult HandlePragmaCaptured();
1870 Sema::ConditionResult ParseCXXCondition(StmtResult *InitStmt,
1936 StmtResult
1939 StmtResult ParseStatementOrDeclaration(
1942 StmtResult ParseStatementOrDeclarationAfterAttributes(
1947 StmtResult ParseExprStatement(ParsedStmtContext StmtCtx);
1948 StmtResult ParseLabeledStatement(ParsedAttributesWithRange &attrs,
1950 StmtResult ParseCaseStatement(ParsedStmtContext StmtCtx,
1953 StmtResult ParseDefaultStatement(ParsedStmtContext StmtCtx);
1954 StmtResult ParseCompoundStatement(bool isStmtExpr = false);
1955 StmtResult ParseCompoundStatement(bool isStmtExpr,
1959 StmtResult ParseCompoundStatementBody(bool isStmtExpr = false);
1960 bool ParseParenExprOrCondition(StmtResult *InitStmt,
1964 StmtResult ParseIfStatement(SourceLocation *TrailingElseLoc);
1965 StmtResult ParseSwitchStatement(SourceLocation *TrailingElseLoc);
1966 StmtResult ParseWhileStatement(SourceLocation *TrailingElseLoc);
1967 StmtResult ParseDoStatement();
1968 StmtResult ParseForStatement(SourceLocation *TrailingElseLoc);
1969 StmtResult ParseGotoStatement();
1970 StmtResult ParseContinueStatement();
1971 StmtResult ParseBreakStatement();
1972 StmtResult ParseReturnStatement();
1973 StmtResult ParseAsmStatement(bool &msAsm);
1974 StmtResult ParseMicrosoftAsmStatement(SourceLocation AsmLoc);
1975 StmtResult ParsePragmaLoopHint(StmtVector &Stmts,
2027 StmtResult ParseCXXTryBlock();
2028 StmtResult ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry = false);
2029 StmtResult ParseCXXCatchBlock(bool FnCatch = false);
2034 StmtResult ParseSEHTryBlock();
2035 StmtResult ParseSEHExceptBlock(SourceLocation Loc);
2036 StmtResult ParseSEHFinallyBlock(SourceLocation Loc);
2037 StmtResult ParseSEHLeaveStatement();
2042 StmtResult ParseObjCAtStatement(SourceLocation atLoc,
2044 StmtResult ParseObjCTryStmt(SourceLocation atLoc);
2045 StmtResult ParseObjCThrowStmt(SourceLocation atLoc);
2046 StmtResult ParseObjCSynchronizedStmt(SourceLocation atLoc);
2047 StmtResult ParseObjCAutoreleasePoolStmt(SourceLocation atLoc);
2120 StmtResult LoopVar;
2901 StmtResult
tools/clang/include/clang/Sema/Ownership.h 280 inline StmtResult StmtError() { return StmtResult(true); }
283 inline StmtResult StmtError(const DiagnosticBuilder&) { return StmtError(); }
286 inline StmtResult StmtEmpty() { return StmtResult(false); }
293 inline Stmt *AssertSuccess(StmtResult R) {
tools/clang/include/clang/Sema/Sema.h 2267 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc,
3760 StmtResult ProcessStmtAttributes(Stmt *Stmt,
4042 StmtResult ActOnExprStmt(ExprResult Arg, bool DiscardedValue = true);
4043 StmtResult ActOnExprStmtError();
4045 StmtResult ActOnNullStmt(SourceLocation SemiLoc,
4050 StmtResult ActOnCompoundStmt(SourceLocation L, SourceLocation R,
4080 StmtResult ActOnDeclStmt(DeclGroupPtrTy Decl,
4084 StmtResult ActOnForEachLValueExpr(Expr *E);
4086 StmtResult ActOnCaseStmt(SourceLocation CaseLoc, ExprResult LHS,
4091 StmtResult ActOnDefaultStmt(SourceLocation DefaultLoc,
4094 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
4097 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,
4102 StmtResult ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr,
4106 StmtResult BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr,
4110 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
4113 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
4115 StmtResult ActOnWhileStmt(SourceLocation WhileLoc, ConditionResult Cond,
4117 StmtResult ActOnDoStmt(SourceLocation DoLoc, Stmt *Body,
4121 StmtResult ActOnForStmt(SourceLocation ForLoc,
4130 StmtResult ActOnObjCForCollectionStmt(SourceLocation ForColLoc,
4133 StmtResult FinishObjCForCollectionStmt(Stmt *ForCollection, Stmt *Body);
4146 StmtResult ActOnCXXForRangeStmt(Scope *S, SourceLocation ForLoc,
4153 StmtResult BuildCXXForRangeStmt(SourceLocation ForLoc,
4162 StmtResult FinishCXXForRangeStmt(Stmt *ForRange, Stmt *Body);
4164 StmtResult ActOnGotoStmt(SourceLocation GotoLoc,
4167 StmtResult ActOnIndirectGotoStmt(SourceLocation GotoLoc,
4170 StmtResult ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope);
4171 StmtResult ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope);
4180 StmtResult ActOnCapturedRegionEnd(Stmt *S);
4202 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
4204 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp);
4205 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp);
4207 StmtResult ActOnGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple,
4225 StmtResult ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc,
4244 StmtResult ActOnObjCAtCatchStmt(SourceLocation AtLoc, SourceLocation RParen,
4247 StmtResult ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body);
4249 StmtResult ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try,
4252 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw);
4253 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
4257 StmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc,
4261 StmtResult ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body);
4270 StmtResult ActOnCXXCatchBlock(SourceLocation CatchLoc,
4272 StmtResult ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock,
4275 StmtResult ActOnSEHTryBlock(bool IsCXXTry, // try (true) or __try (false) ?
4278 StmtResult ActOnSEHExceptBlock(SourceLocation Loc,
4283 StmtResult ActOnFinishSEHFinallyBlock(SourceLocation Loc, Stmt *Block);
4284 StmtResult ActOnSEHLeaveStmt(SourceLocation Loc, Scope *CurScope);
4944 StmtResult BuildMSDependentExistsStmt(SourceLocation KeywordLoc,
4949 StmtResult ActOnMSDependentExistsStmt(SourceLocation KeywordLoc,
5776 StmtResult ActOnFinishFullStmt(Stmt *Stmt);
8359 StmtResult SubstStmt(Stmt *S,
9158 StmtResult ActOnCoreturnStmt(Scope *S, SourceLocation KwLoc, Expr *E);
9165 StmtResult BuildCoreturnStmt(SourceLocation KwLoc, Expr *E,
9167 StmtResult BuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs);
9501 StmtResult ActOnOpenMPRegionEnd(StmtResult S, ArrayRef<OMPClause *> Clauses);
9501 StmtResult ActOnOpenMPRegionEnd(StmtResult S, ArrayRef<OMPClause *> Clauses);
9502 StmtResult ActOnOpenMPExecutableDirective(
9508 StmtResult ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses,
9516 StmtResult
9522 StmtResult
9528 StmtResult
9534 StmtResult ActOnOpenMPSectionsDirective(ArrayRef<OMPClause *> Clauses,
9539 StmtResult ActOnOpenMPSectionDirective(Stmt *AStmt, SourceLocation StartLoc,
9543 StmtResult ActOnOpenMPSingleDirective(ArrayRef<OMPClause *> Clauses,
9548 StmtResult ActOnOpenMPMasterDirective(Stmt *AStmt, SourceLocation StartLoc,
9552 StmtResult ActOnOpenMPCriticalDirective(const DeclarationNameInfo &DirName,
9558 StmtResult ActOnOpenMPParallelForDirective(
9563 StmtResult ActOnOpenMPParallelForSimdDirective(
9568 StmtResult ActOnOpenMPParallelSectionsDirective(ArrayRef<OMPClause *> Clauses,
9574 StmtResult ActOnOpenMPTaskDirective(ArrayRef<OMPClause *> Clauses,
9578 StmtResult ActOnOpenMPTaskyieldDirective(SourceLocation StartLoc,
9581 StmtResult ActOnOpenMPBarrierDirective(SourceLocation StartLoc,
9584 StmtResult ActOnOpenMPTaskwaitDirective(SourceLocation StartLoc,
9587 StmtResult ActOnOpenMPTaskgroupDirective(ArrayRef<OMPClause *> Clauses,
9591 StmtResult ActOnOpenMPFlushDirective(ArrayRef<OMPClause *> Clauses,
9596 StmtResult ActOnOpenMPOrderedDirective(ArrayRef<OMPClause *> Clauses,
9601 StmtResult ActOnOpenMPAtomicDirective(ArrayRef<OMPClause *> Clauses,
9606 StmtResult ActOnOpenMPTargetDirective(ArrayRef<OMPClause *> Clauses,
9611 StmtResult ActOnOpenMPTargetDataDirective(ArrayRef<OMPClause *> Clauses,
9616 StmtResult ActOnOpenMPTargetEnterDataDirective(ArrayRef<OMPClause *> Clauses,
9622 StmtResult ActOnOpenMPTargetExitDataDirective(ArrayRef<OMPClause *> Clauses,
9628 StmtResult ActOnOpenMPTargetParallelDirective(ArrayRef<OMPClause *> Clauses,
9634 StmtResult ActOnOpenMPTargetParallelForDirective(
9639 StmtResult ActOnOpenMPTeamsDirective(ArrayRef<OMPClause *> Clauses,
9643 StmtResult
9648 StmtResult ActOnOpenMPCancelDirective(ArrayRef<OMPClause *> Clauses,
9654 StmtResult
9660 StmtResult ActOnOpenMPTaskLoopSimdDirective(
9665 StmtResult ActOnOpenMPMasterTaskLoopDirective(
9670 StmtResult ActOnOpenMPMasterTaskLoopSimdDirective(
9675 StmtResult ActOnOpenMPParallelMasterTaskLoopDirective(
9680 StmtResult
9685 StmtResult ActOnOpenMPTargetUpdateDirective(ArrayRef<OMPClause *> Clauses,
9691 StmtResult ActOnOpenMPDistributeParallelForDirective(
9696 StmtResult ActOnOpenMPDistributeParallelForSimdDirective(
9701 StmtResult ActOnOpenMPDistributeSimdDirective(
9706 StmtResult ActOnOpenMPTargetParallelForSimdDirective(
9711 StmtResult
9717 StmtResult ActOnOpenMPTeamsDistributeDirective(
9722 StmtResult ActOnOpenMPTeamsDistributeSimdDirective(
9727 StmtResult ActOnOpenMPTeamsDistributeParallelForSimdDirective(
9732 StmtResult ActOnOpenMPTeamsDistributeParallelForDirective(
9737 StmtResult ActOnOpenMPTargetTeamsDirective(ArrayRef<OMPClause *> Clauses,
9743 StmtResult ActOnOpenMPTargetTeamsDistributeDirective(
9748 StmtResult ActOnOpenMPTargetTeamsDistributeParallelForDirective(
9753 StmtResult ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective(
9758 StmtResult ActOnOpenMPTargetTeamsDistributeSimdDirective(
tools/clang/lib/Parse/ParseExpr.cpp 2438 StmtResult Stmt(ParseCompoundStatement(true));
3096 StmtResult Stmt(ParseCompoundStatementBody());
tools/clang/lib/Parse/ParseExprCXX.cpp 1468 StmtResult Stmt(ParseCompoundStatementBody());
1910 Sema::ConditionResult Parser::ParseCXXCondition(StmtResult *InitStmt,
tools/clang/lib/Parse/ParseObjc.cpp 2420 StmtResult Parser::ParseObjCThrowStmt(SourceLocation atLoc) {
2438 StmtResult
2473 StmtResult body(ParseCompoundStatementBody());
2498 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) {
2507 StmtResult FinallyStmt;
2509 StmtResult TryBody(ParseCompoundStatementBody());
2551 StmtResult CatchBody(true);
2559 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc,
2584 StmtResult FinallyBody(true);
2617 StmtResult
2628 StmtResult AutoreleasePoolBody(ParseCompoundStatementBody());
2725 StmtResult Parser::ParseObjCAtStatement(SourceLocation AtLoc,
tools/clang/lib/Parse/ParseOpenMP.cpp 1580 StmtResult
1594 StmtResult Directive = StmtError();
1838 StmtResult AssociatedStmt;
tools/clang/lib/Parse/ParsePragma.cpp 649 StmtResult Parser::HandlePragmaCaptured()
666 StmtResult R = ParseCompoundStatement();
tools/clang/lib/Parse/ParseStmt.cpp 31 StmtResult Parser::ParseStatement(SourceLocation *TrailingElseLoc,
33 StmtResult Res;
94 StmtResult
106 StmtResult Res = ParseStatementOrDeclarationAfterAttributes(
151 StmtResult Parser::ParseStatementOrDeclarationAfterAttributes(
155 StmtResult Res;
426 StmtResult Parser::ParseExprStatement(ParsedStmtContext StmtCtx) {
469 StmtResult Parser::ParseSEHTryBlock() {
476 StmtResult TryBlock(ParseCompoundStatement(
482 StmtResult Handler;
508 StmtResult Parser::ParseSEHExceptBlock(SourceLocation ExceptLoc) {
547 StmtResult Block(ParseCompoundStatement());
560 StmtResult Parser::ParseSEHFinallyBlock(SourceLocation FinallyLoc) {
571 StmtResult Block(ParseCompoundStatement());
585 StmtResult Parser::ParseSEHLeaveStatement() {
596 StmtResult Parser::ParseLabeledStatement(ParsedAttributesWithRange &attrs,
614 StmtResult SubStmt;
666 StmtResult Parser::ParseCaseStatement(ParsedStmtContext StmtCtx,
690 StmtResult TopLevelCase(true);
758 StmtResult Case =
782 StmtResult SubStmt;
815 StmtResult Parser::ParseDefaultStatement(ParsedStmtContext StmtCtx) {
839 StmtResult SubStmt;
860 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr) {
887 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr,
973 StmtResult R =
988 StmtResult Parser::handleExprStmt(ExprResult E, ParsedStmtContext StmtCtx) {
1012 StmtResult Parser::ParseCompoundStatementBody(bool isStmtExpr) {
1056 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation());
1077 StmtResult R;
1149 bool Parser::ParseParenExprOrCondition(StmtResult *InitStmt,
1202 StmtResult Parser::ParseIfStatement(SourceLocation *TrailingElseLoc) {
1237 StmtResult InitStmt;
1272 StmtResult ThenStmt;
1287 StmtResult ElseStmt;
1350 StmtResult Parser::ParseSwitchStatement(SourceLocation *TrailingElseLoc) {
1380 StmtResult InitStmt;
1386 StmtResult Switch =
1422 StmtResult Body(ParseStatement(TrailingElseLoc));
1435 StmtResult Parser::ParseWhileStatement(SourceLocation *TrailingElseLoc) {
1488 StmtResult Body(ParseStatement(TrailingElseLoc));
1504 StmtResult Parser::ParseDoStatement() {
1530 StmtResult Body(ParseStatement());
1613 StmtResult Parser::ParseForStatement(SourceLocation *TrailingElseLoc) {
1657 StmtResult FirstPart;
1874 StmtResult ForRangeStmt;
1875 StmtResult ForEachStmt;
1922 StmtResult Body(ParseStatement(TrailingElseLoc));
1952 StmtResult Parser::ParseGotoStatement() {
1956 StmtResult Res;
1986 StmtResult Parser::ParseContinueStatement() {
1997 StmtResult Parser::ParseBreakStatement() {
2008 StmtResult Parser::ParseReturnStatement() {
2046 StmtResult Parser::ParsePragmaLoopHint(StmtVector &Stmts,
2069 StmtResult S = ParseStatementOrDeclarationAfterAttributes(
2092 StmtResult FnBody(ParseCompoundStatementBody());
2129 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true));
2186 StmtResult Parser::ParseCXXTryBlock() {
2209 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) {
2213 StmtResult TryBlock(ParseCompoundStatement(
2226 StmtResult Handler;
2253 StmtResult Handler(ParseCXXCatchBlock(FnTry));
2276 StmtResult Parser::ParseCXXCatchBlock(bool FnCatch) {
2319 StmtResult Block(ParseCompoundStatement());
2341 StmtResult Compound = ParseCompoundStatement();
2345 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc,
2376 StmtResult R =
tools/clang/lib/Parse/ParseStmtAsm.cpp 394 StmtResult Parser::ParseMicrosoftAsmStatement(SourceLocation AsmLoc) {
689 StmtResult Parser::ParseAsmStatement(bool &msAsm) {
tools/clang/lib/Sema/SemaCoroutine.cpp 636 StmtResult InitSuspend = buildSuspends("initial_suspend");
640 StmtResult FinalSuspend = buildSuspends("final_suspend");
846 StmtResult Sema::ActOnCoreturnStmt(Scope *S, SourceLocation Loc, Expr *E) {
854 StmtResult Sema::BuildCoreturnStmt(SourceLocation Loc, Expr *E,
1033 StmtResult PromiseStmt =
1103 StmtResult ReturnStmt =
1313 StmtResult Fallthrough;
1473 StmtResult GroDeclStmt =
1484 StmtResult ReturnStmt = S.BuildReturnStmt(Loc, declRef.get());
1553 StmtResult Stmt = ActOnDeclStmt(ConvertDeclToDeclGroup(D), Loc, Loc);
1562 StmtResult Sema::BuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs Args) {
tools/clang/lib/Sema/SemaDecl.cpp12309 StmtResult
tools/clang/lib/Sema/SemaDeclCXX.cpp12028 static StmtResult
12108 static StmtResult
12269 StmtResult Copy =
12300 static StmtResult
12309 StmtResult Result(buildSingleCopyAssignRecursively(S, Loc, T, To, From,
12536 StmtResult Copy = buildSingleCopyAssign(*this, Loc, BaseType,
12603 StmtResult Copy = buildSingleCopyAssign(*this, Loc, FieldType,
12620 StmtResult Return = BuildReturnStmt(Loc, ThisObj.get());
12632 StmtResult Body;
12904 StmtResult Move = buildSingleCopyAssign(*this, Loc, BaseType,
12974 StmtResult Move = buildSingleCopyAssign(*this, Loc, FieldType,
12992 StmtResult Return = BuildReturnStmt(Loc, ThisObj.get());
13004 StmtResult Body;
13377 StmtResult Return = BuildReturnStmt(Conv->getLocation(), BuildBlock.get());
tools/clang/lib/Sema/SemaExpr.cpp15053 StmtResult TransformLambdaBody(LambdaExpr *E, Stmt *Body) {
tools/clang/lib/Sema/SemaExprCXX.cpp 8039 StmtResult Sema::ActOnFinishFullStmt(Stmt *FullStmt) {
tools/clang/lib/Sema/SemaOpenMP.cpp 3634 StmtResult Sema::ActOnOpenMPRegionEnd(StmtResult S,
3634 StmtResult Sema::ActOnOpenMPRegionEnd(StmtResult S,
3722 StmtResult SR = S;
4234 StmtResult Sema::ActOnOpenMPExecutableDirective(
4238 StmtResult Res = StmtError();
5216 StmtResult Sema::ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses,
7644 StmtResult
7683 StmtResult
7719 StmtResult Sema::ActOnOpenMPForSimdDirective(
7758 StmtResult Sema::ActOnOpenMPSectionsDirective(ArrayRef<OMPClause *> Clauses,
7796 StmtResult Sema::ActOnOpenMPSectionDirective(Stmt *AStmt,
7811 StmtResult Sema::ActOnOpenMPSingleDirective(ArrayRef<OMPClause *> Clauses,
7842 StmtResult Sema::ActOnOpenMPMasterDirective(Stmt *AStmt,
7855 StmtResult Sema::ActOnOpenMPCriticalDirective(
7914 StmtResult Sema::ActOnOpenMPParallelForDirective(
7958 StmtResult Sema::ActOnOpenMPParallelForSimdDirective(
8001 StmtResult
8040 StmtResult Sema::ActOnOpenMPTaskDirective(ArrayRef<OMPClause *> Clauses,
8060 StmtResult Sema::ActOnOpenMPTaskyieldDirective(SourceLocation StartLoc,
8065 StmtResult Sema::ActOnOpenMPBarrierDirective(SourceLocation StartLoc,
8070 StmtResult Sema::ActOnOpenMPTaskwaitDirective(SourceLocation StartLoc,
8075 StmtResult Sema::ActOnOpenMPTaskgroupDirective(ArrayRef<OMPClause *> Clauses,
8091 StmtResult Sema::ActOnOpenMPFlushDirective(ArrayRef<OMPClause *> Clauses,
8098 StmtResult Sema::ActOnOpenMPOrderedDirective(ArrayRef<OMPClause *> Clauses,
8417 StmtResult Sema::ActOnOpenMPAtomicDirective(ArrayRef<OMPClause *> Clauses,
8850 StmtResult Sema::ActOnOpenMPTargetDirective(ArrayRef<OMPClause *> Clauses,
8915 StmtResult
8946 StmtResult Sema::ActOnOpenMPTargetParallelForDirective(
9013 StmtResult Sema::ActOnOpenMPTargetDataDirective(ArrayRef<OMPClause *> Clauses,
9037 StmtResult
9074 StmtResult
9111 StmtResult Sema::ActOnOpenMPTargetUpdateDirective(ArrayRef<OMPClause *> Clauses,
9144 StmtResult Sema::ActOnOpenMPTeamsDirective(ArrayRef<OMPClause *> Clauses,
9165 StmtResult
9181 StmtResult Sema::ActOnOpenMPCancelDirective(ArrayRef<OMPClause *> Clauses,
9249 StmtResult Sema::ActOnOpenMPTaskLoopDirective(
9285 StmtResult Sema::ActOnOpenMPTaskLoopSimdDirective(
9334 StmtResult Sema::ActOnOpenMPMasterTaskLoopDirective(
9370 StmtResult Sema::ActOnOpenMPMasterTaskLoopSimdDirective(
9419 StmtResult Sema::ActOnOpenMPParallelMasterTaskLoopDirective(
9474 StmtResult Sema::ActOnOpenMPDistributeDirective(
9499 StmtResult Sema::ActOnOpenMPDistributeParallelForDirective(
9543 StmtResult Sema::ActOnOpenMPDistributeParallelForSimdDirective(
9600 StmtResult Sema::ActOnOpenMPDistributeSimdDirective(
9656 StmtResult Sema::ActOnOpenMPTargetParallelForSimdDirective(
9711 StmtResult Sema::ActOnOpenMPTargetSimdDirective(
9767 StmtResult Sema::ActOnOpenMPTeamsDistributeDirective(
9812 StmtResult Sema::ActOnOpenMPTeamsDistributeSimdDirective(
9874 StmtResult Sema::ActOnOpenMPTeamsDistributeParallelForSimdDirective(
9936 StmtResult Sema::ActOnOpenMPTeamsDistributeParallelForDirective(
9985 StmtResult Sema::ActOnOpenMPTargetTeamsDirective(ArrayRef<OMPClause *> Clauses,
10016 StmtResult Sema::ActOnOpenMPTargetTeamsDistributeDirective(
10059 StmtResult Sema::ActOnOpenMPTargetTeamsDistributeParallelForDirective(
10114 StmtResult Sema::ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective(
10173 StmtResult Sema::ActOnOpenMPTargetTeamsDistributeSimdDirective(
tools/clang/lib/Sema/SemaStmt.cpp 45 StmtResult Sema::ActOnExprStmt(ExprResult FE, bool DiscardedValue) {
62 StmtResult Sema::ActOnExprStmtError() {
67 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc,
72 StmtResult Sema::ActOnDeclStmt(DeclGroupPtrTy dg, SourceLocation StartLoc,
388 StmtResult Sema::ActOnCompoundStmt(SourceLocation L, SourceLocation R,
473 StmtResult
503 StmtResult
516 StmtResult
540 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc,
562 StmtResult
589 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr,
726 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
846 StmtResult
1316 StmtResult Sema::ActOnWhileStmt(SourceLocation WhileLoc, ConditionResult Cond,
1335 StmtResult
1763 StmtResult Sema::ActOnForStmt(SourceLocation ForLoc, SourceLocation LParenLoc,
1813 StmtResult Sema::ActOnForEachLValueExpr(Expr *E) {
1901 StmtResult
2093 StmtResult Sema::ActOnCXXForRangeStmt(Scope *S, SourceLocation ForLoc,
2147 StmtResult RangeDecl = ActOnDeclStmt(RangeGroup, RangeLoc, RangeLoc);
2303 static StmtResult RebuildForRangeWithDereference(Sema &SemaRef, Scope *S,
2322 StmtResult SR = SemaRef.ActOnCXXForRangeStmt(
2356 StmtResult Sema::BuildCXXForRangeStmt(SourceLocation ForLoc,
2386 StmtResult BeginDeclStmt = Begin;
2387 StmtResult EndDeclStmt = End;
2556 StmtResult SR = RebuildForRangeWithDereference(*this, S, ForLoc,
2691 StmtResult Sema::FinishObjCForCollectionStmt(Stmt *S, Stmt *B) {
2858 StmtResult Sema::FinishCXXForRangeStmt(Stmt *S, Stmt *B) {
2876 StmtResult Sema::ActOnGotoStmt(SourceLocation GotoLoc,
2884 StmtResult
2919 StmtResult
2931 StmtResult
3237 StmtResult
3553 StmtResult
3561 StmtResult R = BuildReturnStmt(ReturnLoc, RetVal.get());
3578 StmtResult Sema::BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) {
3819 StmtResult
3830 StmtResult
3835 StmtResult
3847 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) {
3872 StmtResult
3928 StmtResult
3938 StmtResult
3946 StmtResult
4056 StmtResult Sema::ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock,
4152 StmtResult Sema::ActOnSEHTryBlock(bool IsCXXTry, SourceLocation TryLoc,
4187 StmtResult
4210 StmtResult Sema::ActOnFinishSEHFinallyBlock(SourceLocation Loc, Stmt *Block) {
4216 StmtResult
4228 StmtResult Sema::BuildMSDependentExistsStmt(SourceLocation KeywordLoc,
4240 StmtResult Sema::ActOnMSDependentExistsStmt(SourceLocation KeywordLoc,
4421 StmtResult Sema::ActOnCapturedRegionEnd(Stmt *S) {
tools/clang/lib/Sema/SemaStmtAsm.cpp 240 StmtResult Sema::ActOnGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple,
875 StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc,
tools/clang/lib/Sema/SemaStmtAttr.cpp 347 StmtResult Sema::ProcessStmtAttributes(Stmt *S,
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp 2892 StmtResult
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 4359 StmtResult Body;
tools/clang/lib/Sema/TreeTransform.h 134 static inline StmtResult Owned(Stmt *S) { return S; }
342 StmtResult TransformStmt(Stmt *S, StmtDiscardKind SDK = SDK_Discarded);
621 StmtResult TransformSEHHandler(Stmt *Handler);
663 StmtResult TransformLambdaBody(LambdaExpr *E, Stmt *Body);
666 StmtResult SkipLambdaBody(LambdaExpr *E, Stmt *Body);
670 StmtResult TransformCompoundStmt(CompoundStmt *S, bool IsStmtExpr);
688 StmtResult TransformOMPExecutableDirective(OMPExecutableDirective *S);
1221 StmtResult RebuildCompoundStmt(SourceLocation LBraceLoc,
1233 StmtResult RebuildCaseStmt(SourceLocation CaseLoc,
1246 StmtResult RebuildCaseStmtBody(Stmt *S, Stmt *Body) {
1255 StmtResult RebuildDefaultStmt(SourceLocation DefaultLoc,
1266 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L,
1275 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc,
1285 StmtResult RebuildIfStmt(SourceLocation IfLoc, bool IsConstexpr,
1296 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, Stmt *Init,
1305 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc,
1314 StmtResult RebuildWhileStmt(SourceLocation WhileLoc,
1323 StmtResult RebuildDoStmt(SourceLocation DoLoc, Stmt *Body,
1334 StmtResult RebuildForStmt(SourceLocation ForLoc, SourceLocation LParenLoc,
1346 StmtResult RebuildGotoStmt(SourceLocation GotoLoc, SourceLocation LabelLoc,
1355 StmtResult RebuildIndirectGotoStmt(SourceLocation GotoLoc,
1365 StmtResult RebuildReturnStmt(SourceLocation ReturnLoc, Expr *Result) {
1373 StmtResult RebuildDeclStmt(MutableArrayRef<Decl *> Decls,
1383 StmtResult RebuildGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple,
1399 StmtResult RebuildMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc,
1416 StmtResult RebuildCoreturnStmt(SourceLocation CoreturnLoc, Expr *Result,
1448 StmtResult RebuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs Args) {
1456 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc,
1480 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc,
1492 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc,
1501 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc,
1510 StmtResult RebuildOMPExecutableDirective(OpenMPDirectiveKind Kind,
2000 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc,
2009 StmtResult RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc,
2018 StmtResult RebuildObjCForCollectionStmt(SourceLocation ForLoc,
2023 StmtResult ForEachStmt = getSema().ActOnObjCForCollectionStmt(ForLoc,
2053 StmtResult RebuildCXXCatchStmt(SourceLocation CatchLoc,
2064 StmtResult RebuildCXXTryStmt(SourceLocation TryLoc, Stmt *TryBlock,
2073 StmtResult RebuildCXXForRangeStmt(SourceLocation ForLoc,
2113 StmtResult RebuildMSDependentExistsStmt(SourceLocation KeywordLoc,
2126 StmtResult FinishCXXForRangeStmt(Stmt *ForRange, Stmt *Body) {
2130 StmtResult RebuildSEHTryStmt(bool IsCXXTry, SourceLocation TryLoc,
2135 StmtResult RebuildSEHExceptStmt(SourceLocation Loc, Expr *FilterExpr,
2140 StmtResult RebuildSEHFinallyStmt(SourceLocation Loc, Stmt *Block) {
3373 StmtResult TreeTransform<Derived>::TransformStmt(Stmt *S, StmtDiscardKind SDK) {
6641 StmtResult
6647 StmtResult
6653 StmtResult
6663 StmtResult Result = getDerived().TransformStmt(
6695 StmtResult
6718 StmtResult Case = getDerived().RebuildCaseStmt(S->getCaseLoc(),
6727 StmtResult SubStmt =
6737 StmtResult TreeTransform<Derived>::TransformDefaultStmt(DefaultStmt *S) {
6739 StmtResult SubStmt =
6750 StmtResult
6752 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt(), SDK);
6791 StmtResult
6804 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt(), SDK);
6816 StmtResult
6819 StmtResult Init = getDerived().TransformStmt(S->getInit());
6837 StmtResult Then;
6847 StmtResult Else;
6867 StmtResult
6870 StmtResult Init = getDerived().TransformStmt(S->getInit());
6882 StmtResult Switch
6888 StmtResult Body = getDerived().TransformStmt(S->getBody());
6898 StmtResult
6908 StmtResult Body = getDerived().TransformStmt(S->getBody());
6921 StmtResult
6924 StmtResult Body = getDerived().TransformStmt(S->getBody());
6944 StmtResult
6950 StmtResult Init = getDerived().TransformStmt(S->getInit());
6976 StmtResult Body = getDerived().TransformStmt(S->getBody());
6993 StmtResult
7006 StmtResult
7022 StmtResult
7028 StmtResult
7034 StmtResult
7047 StmtResult
7069 StmtResult
7145 StmtResult
7179 StmtResult
7205 StmtResult InitSuspend = getDerived().TransformStmt(S->getInitSuspendStmt());
7208 StmtResult FinalSuspend =
7215 StmtResult BodyRes = getDerived().TransformStmt(S->getBody());
7250 StmtResult Res = getDerived().TransformStmt(OnFallthrough);
7257 StmtResult Res = getDerived().TransformStmt(OnException);
7264 StmtResult Res = getDerived().TransformStmt(OnAllocFailure);
7284 StmtResult ResultDecl = getDerived().TransformStmt(S->getResultDecl());
7290 StmtResult Res = getDerived().TransformStmt(ReturnStmt);
7301 StmtResult
7365 StmtResult
7368 StmtResult TryBody = getDerived().TransformStmt(S->getTryBody());
7376 StmtResult Catch = getDerived().TransformStmt(S->getCatchStmt(I));
7385 StmtResult Finally;
7405 StmtResult
7431 StmtResult Body = getDerived().TransformStmt(S->getCatchBody());
7441 StmtResult
7444 StmtResult Body = getDerived().TransformStmt(S->getFinallyBody());
7459 StmtResult
7476 StmtResult
7490 StmtResult Body = getDerived().TransformStmt(S->getSynchBody());
7506 StmtResult
7510 StmtResult Body = getDerived().TransformStmt(S->getSubStmt());
7525 StmtResult
7529 StmtResult Element =
7540 StmtResult Body = getDerived().TransformStmt(S->getBody());
7560 StmtResult TreeTransform<Derived>::TransformCXXCatchStmt(CXXCatchStmt *S) {
7577 StmtResult Handler = getDerived().TransformStmt(S->getHandlerBlock());
7589 StmtResult TreeTransform<Derived>::TransformCXXTryStmt(CXXTryStmt *S) {
7591 StmtResult TryBlock = getDerived().TransformCompoundStmt(S->getTryBlock());
7599 StmtResult Handler = getDerived().TransformCXXCatchStmt(S->getHandler(I));
7616 StmtResult
7618 StmtResult Init =
7623 StmtResult Range = getDerived().TransformStmt(S->getRangeStmt());
7627 StmtResult Begin = getDerived().TransformStmt(S->getBeginStmt());
7630 StmtResult End = getDerived().TransformStmt(S->getEndStmt());
7650 StmtResult LoopVar = getDerived().TransformStmt(S->getLoopVarStmt());
7654 StmtResult NewStmt = S;
7674 StmtResult Body = getDerived().TransformStmt(S->getBody());
7699 StmtResult
7751 StmtResult SubStmt = getDerived().TransformCompoundStmt(S->getSubStmt());
7813 StmtResult TreeTransform<Derived>::TransformSEHTryStmt(SEHTryStmt *S) {
7814 StmtResult TryBlock = getDerived().TransformCompoundStmt(S->getTryBlock());
7818 StmtResult Handler = getDerived().TransformSEHHandler(S->getHandler());
7831 StmtResult TreeTransform<Derived>::TransformSEHFinallyStmt(SEHFinallyStmt *S) {
7832 StmtResult Block = getDerived().TransformCompoundStmt(S->getBlock());
7840 StmtResult TreeTransform<Derived>::TransformSEHExceptStmt(SEHExceptStmt *S) {
7845 StmtResult Block = getDerived().TransformCompoundStmt(S->getBlock());
7854 StmtResult TreeTransform<Derived>::TransformSEHHandler(Stmt *Handler) {
7862 StmtResult
7871 StmtResult TreeTransform<Derived>::TransformOMPExecutableDirective(
7890 StmtResult AssociatedStmt;
7894 StmtResult Body;
7929 StmtResult
7934 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
7940 StmtResult
7945 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
7951 StmtResult
7956 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
7962 StmtResult
7967 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
7973 StmtResult
7978 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
7984 StmtResult
7989 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
7995 StmtResult
8000 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8006 StmtResult
8011 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8017 StmtResult
8021 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8027 StmtResult TreeTransform<Derived>::TransformOMPParallelForDirective(
8032 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8038 StmtResult TreeTransform<Derived>::TransformOMPParallelForSimdDirective(
8043 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8049 StmtResult TreeTransform<Derived>::TransformOMPParallelSectionsDirective(
8054 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8060 StmtResult
8065 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8071 StmtResult TreeTransform<Derived>::TransformOMPTaskyieldDirective(
8076 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8082 StmtResult
8087 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8093 StmtResult
8098 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8104 StmtResult TreeTransform<Derived>::TransformOMPTaskgroupDirective(
8109 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8115 StmtResult
8120 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8126 StmtResult
8131 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8137 StmtResult
8142 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8148 StmtResult
8153 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8159 StmtResult TreeTransform<Derived>::TransformOMPTargetDataDirective(
8164 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8170 StmtResult TreeTransform<Derived>::TransformOMPTargetEnterDataDirective(
8175 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8181 StmtResult TreeTransform<Derived>::TransformOMPTargetExitDataDirective(
8186 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8192 StmtResult TreeTransform<Derived>::TransformOMPTargetParallelDirective(
8197 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8203 StmtResult TreeTransform<Derived>::TransformOMPTargetParallelForDirective(
8208 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8214 StmtResult TreeTransform<Derived>::TransformOMPTargetUpdateDirective(
8219 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8225 StmtResult
8230 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8236 StmtResult TreeTransform<Derived>::TransformOMPCancellationPointDirective(
8241 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8247 StmtResult
8252 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8258 StmtResult
8263 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8269 StmtResult TreeTransform<Derived>::TransformOMPTaskLoopSimdDirective(
8274 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8280 StmtResult TreeTransform<Derived>::TransformOMPMasterTaskLoopDirective(
8285 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8291 StmtResult TreeTransform<Derived>::TransformOMPMasterTaskLoopSimdDirective(
8296 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8302 StmtResult TreeTransform<Derived>::TransformOMPParallelMasterTaskLoopDirective(
8307 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8313 StmtResult TreeTransform<Derived>::TransformOMPDistributeDirective(
8318 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8324 StmtResult TreeTransform<Derived>::TransformOMPDistributeParallelForDirective(
8329 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8335 StmtResult
8341 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8347 StmtResult TreeTransform<Derived>::TransformOMPDistributeSimdDirective(
8352 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8358 StmtResult TreeTransform<Derived>::TransformOMPTargetParallelForSimdDirective(
8363 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8369 StmtResult TreeTransform<Derived>::TransformOMPTargetSimdDirective(
8374 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8380 StmtResult TreeTransform<Derived>::TransformOMPTeamsDistributeDirective(
8385 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8391 StmtResult TreeTransform<Derived>::TransformOMPTeamsDistributeSimdDirective(
8396 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8402 StmtResult TreeTransform<Derived>::TransformOMPTeamsDistributeParallelForSimdDirective(
8408 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8414 StmtResult TreeTransform<Derived>::TransformOMPTeamsDistributeParallelForDirective(
8419 StmtResult Res = getDerived().TransformOMPExecutableDirective(D);
8425 StmtResult TreeTransform<Derived>::TransformOMPTargetTeamsDirective(
8436 StmtResult TreeTransform<Derived>::TransformOMPTargetTeamsDistributeDirective(
8447 StmtResult
8460 StmtResult TreeTransform<Derived>::
8473 StmtResult
10177 StmtResult SubStmt
11673 StmtResult Body =
11699 StmtResult
11705 StmtResult
12770 StmtResult body = getDerived().TransformStmt(E->getBody());
13364 StmtResult
13383 StmtResult Body;
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp 384 StmtResult result_initialization_stmt_result(m_sema->ActOnDeclStmt(