[all-commits] [llvm/llvm-project] de1ea7: [OpenMP] Move unsupported structured bindings diag...

Mike Rice via All-commits all-commits at lists.llvm.org
Thu Feb 1 10:07:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de1ea787ed70ff376a1ff3b4262d0e25e4d135f2
      https://github.com/llvm/llvm-project/commit/de1ea787ed70ff376a1ff3b4262d0e25e4d135f2
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/SemaCXX/decomposition-openmp.cpp

  Log Message:
  -----------
  [OpenMP] Move unsupported structured bindings diagnostic (#80216)

Move the diagnostic so it fires only when doing an OpenMP capture, not
for non-OpenMP captures. This allows non-OpenMP code to work when using
OpenMP elsewhere, such as the code reported in
https://github.com/llvm/llvm-project/issues/66999.




More information about the All-commits mailing list