[all-commits] [llvm/llvm-project] ba3f85: [OpenMP] Add diagnostic for unterminated 'omp [beg...

Mike Rice via All-commits all-commits at lists.llvm.org
Wed May 25 10:34:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba3f85390bde10eab1cbdb68f744b8f5ab31859b
      https://github.com/llvm/llvm-project/commit/ba3f85390bde10eab1cbdb68f744b8f5ab31859b
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2022-05-25 (Wed, 25 May 2022)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    A clang/test/OpenMP/Inputs/unterminated_declare_target_include.h
    M clang/test/OpenMP/declare_target_messages.cpp

  Log Message:
  -----------
  [OpenMP] Add diagnostic for unterminated 'omp [begin] declare target'

Warns when end-of-file is reached without seeing all matching
'omp end declare target' directives. The diagnostic shows the
location of the related begin directive.

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




More information about the All-commits mailing list