[all-commits] [llvm/llvm-project] a9036f: [OPENMP]Fix error emission for dependent expressio...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Thu Dec 2 13:02:45 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9036f2eb42d2311d84198868e9e8ff060c79a95
      https://github.com/llvm/llvm-project/commit/a9036f2eb42d2311d84198868e9e8ff060c79a95
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.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_update_depend_messages.cpp
    A clang/test/OpenMP/task_depend_template_call_ast_print.cpp

  Log Message:
  -----------
  [OPENMP]Fix error emission for dependent expressions in iterators for depend clauses.

Need to postpone analysis for addressable lvalue in a depend clause with
iterators, otherwise the incorrect error message is emitted.

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




More information about the All-commits mailing list