[all-commits] [llvm/llvm-project] dd4c83: [OpenMP] Allow data members in interop init/use/de...

Mike Rice via All-commits all-commits at lists.llvm.org
Thu Aug 11 09:39:53 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd4c838da30ad4b6d5dc0f700df0a6629469f719
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

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

  Log Message:
  [OpenMP] Allow data members in interop init/use/destroy clauses

Previously a diagnostic was given if the expression was not strictly a
DeclRef. Now also allow use of data members inside member functions.

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

More information about the All-commits mailing list