Commit b99fa02d authored by Joel E. Denny's avatar Joel E. Denny
Browse files

[Clacc] Fix some typos

parent 9f9e7728
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2041,8 +2041,9 @@ to OpenMP is as follows:
          documented in `README-OpenACC-status.md` about the limited visibility
          of an `acc routine` directive.
* Elsewhere:
    * *exp* `acc routine` -> `omp declare target` plus an
      `omp end declare target` following the associated function declaration.
    * *exp* `acc routine` -> *exp* `omp declare target` plus an
      *exp* `omp end declare target` following the associated function
      declaration.
    * The translation discards *exp* `gang`|`worker`|`vector`|`seq`.
      Notes:
        * These clauses appear to have no counterpart in OpenMP.
+1 −1
Original line number Diff line number Diff line
@@ -520,7 +520,7 @@ public:
    transformACCClauses(D, OMPD_target_exit_data, TClauses, TClausesEmptyCount);

    // Neither acc exit data nor omp target exit data have associated
    // statements, but for some reason OMPTargetEnterDataDirective expects one.
    // statements, but for some reason OMPTargetExitDataDirective expects one.
    assert(!D->hasAssociatedStmt() &&
           "expected no associated statement on 'acc exit data' directive");
    getSema().ActOnOpenMPRegionStart(OMPD_target_exit_data, nullptr);