[all-commits] [llvm/llvm-project] 9b9592: [OPENMP50]Do not allow several scan directives in ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Mar 20 12:50:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b95929a26e133bc3cae9f29f91e8e351d233840
      https://github.com/llvm/llvm-project/commit/9b95929a26e133bc3cae9f29f91e8e351d233840
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/scan_messages.cpp

  Log Message:
  -----------
  [OPENMP50]Do not allow several scan directives in the same parent
region.

According to OpenMP 5.0, exactly one scan directive must appear in the loop body of an enclosing worksharing-loop, worksharing-loop SIMD, or simd construct on which a reduction clause with the inscan modifier is present.




More information about the All-commits mailing list