File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -11859,13 +11859,14 @@ StmtResult TreeTransform<Derived>::TransformOpenACCComputeConstruct(
11859
11859
OpenACCComputeConstruct *C) {
11860
11860
getSema().OpenACC().ActOnConstruct(C->getDirectiveKind(), C->getBeginLoc());
11861
11861
11862
+ llvm::SmallVector<OpenACCClause *> TransformedClauses =
11863
+ getDerived().TransformOpenACCClauseList(C->getDirectiveKind(),
11864
+ C->clauses());
11865
+
11862
11866
if (getSema().OpenACC().ActOnStartStmtDirective(C->getDirectiveKind(),
11863
11867
C->getBeginLoc()))
11864
11868
return StmtError();
11865
11869
11866
- llvm::SmallVector<OpenACCClause *> TransformedClauses =
11867
- getDerived().TransformOpenACCClauseList(C->getDirectiveKind(),
11868
- C->clauses());
11869
11870
// Transform Structured Block.
11870
11871
SemaOpenACC::AssociatedStmtRAII AssocStmtRAII(getSema().OpenACC(),
11871
11872
C->getDirectiveKind());
@@ -11884,14 +11885,14 @@ TreeTransform<Derived>::TransformOpenACCLoopConstruct(OpenACCLoopConstruct *C) {
11884
11885
11885
11886
getSema().OpenACC().ActOnConstruct(C->getDirectiveKind(), C->getBeginLoc());
11886
11887
11887
- if (getSema().OpenACC().ActOnStartStmtDirective(C->getDirectiveKind(),
11888
- C->getBeginLoc()))
11889
- return StmtError();
11890
-
11891
11888
llvm::SmallVector<OpenACCClause *> TransformedClauses =
11892
11889
getDerived().TransformOpenACCClauseList(C->getDirectiveKind(),
11893
11890
C->clauses());
11894
11891
11892
+ if (getSema().OpenACC().ActOnStartStmtDirective(C->getDirectiveKind(),
11893
+ C->getBeginLoc()))
11894
+ return StmtError();
11895
+
11895
11896
// Transform Loop.
11896
11897
SemaOpenACC::AssociatedStmtRAII AssocStmtRAII(getSema().OpenACC(),
11897
11898
C->getDirectiveKind());
Original file line number Diff line number Diff line change @@ -435,7 +435,6 @@ void TemplUses(T t, U u) {
435
435
// CHECK-NEXT: CXXBoolLiteralExpr
436
436
// CHECK-NEXT: CompoundStmt
437
437
438
-
439
438
// CHECK-NEXT: DeclStmt
440
439
// CHECK-NEXT: VarDecl{{.*}}EndMarker
441
440
int EndMarker;
@@ -490,7 +489,6 @@ void TemplUses(T t, U u) {
490
489
// CHECK-NEXT: CXXFunctionalCastExpr{{.*}} 'CorrectConvert' functional cast to struct CorrectConvert <NoOp>
491
490
// CHECK-NEXT: InitListExpr{{.*}}'CorrectConvert'
492
491
// CHECK-NEXT: WhileStmt
493
- // CHECK-NEXT: ExprWithCleanups
494
492
// CHECK-NEXT: CXXBoolLiteralExpr
495
493
// CHECK-NEXT: CompoundStmt
496
494
@@ -503,7 +501,6 @@ void TemplUses(T t, U u) {
503
501
// CHECK-NEXT: CXXFunctionalCastExpr{{.*}} 'HasInt' functional cast to struct HasInt <NoOp>
504
502
// CHECK-NEXT: InitListExpr{{.*}}'HasInt'
505
503
// CHECK-NEXT: WhileStmt
506
- // CHECK-NEXT: ExprWithCleanups
507
504
// CHECK-NEXT: CXXBoolLiteralExpr
508
505
// CHECK-NEXT: CompoundStmt
509
506
You can’t perform that action at this time.
0 commit comments