[all-commits] [llvm/llvm-project] 427ffa: [OpenMP] diagnose zero-length array section in the...

kkwli via All-commits all-commits at lists.llvm.org
Fri Jan 3 09:01:14 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 427ffa2cdbbc7337d903ba71823a7830fa92568d
      https://github.com/llvm/llvm-project/commit/427ffa2cdbbc7337d903ba71823a7830fa92568d
  Author: Kelvin Li <kkwli0 at gmail.com>
  Date:   2020-01-03 (Fri, 03 Jan 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/target_depend_messages.cpp
    M clang/test/OpenMP/target_enter_data_depend_messages.cpp
    M clang/test/OpenMP/target_exit_data_depend_messages.cpp
    M clang/test/OpenMP/target_parallel_depend_messages.cpp
    M clang/test/OpenMP/target_parallel_for_depend_messages.cpp
    M clang/test/OpenMP/target_parallel_for_simd_depend_messages.cpp
    M clang/test/OpenMP/target_simd_depend_messages.cpp
    M clang/test/OpenMP/target_teams_depend_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_depend_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_depend_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_depend_messages.cpp
    M clang/test/OpenMP/target_update_depend_messages.cpp
    M clang/test/OpenMP/task_depend_messages.cpp

  Log Message:
  -----------
  [OpenMP] diagnose zero-length array section in the depend clause

The OpenMP specification disallows having zero-length array
sections in the depend clause (OpenMP 5.0 2.17.11).

Differential Revision: https://reviews.llvm.org/D71969




More information about the All-commits mailing list