[all-commits] [llvm/llvm-project] b249b4: [OpenMP] Fix crash when diagnosing dist_schedule (...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Fri May 9 08:12:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b249b49c133d0b4e1e2505dfd0a53f4da50d2a7a
      https://github.com/llvm/llvm-project/commit/b249b49c133d0b4e1e2505dfd0a53f4da50d2a7a
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/teams_distribute_dist_schedule_messages.cpp

  Log Message:
  -----------
  [OpenMP] Fix crash when diagnosing dist_schedule (#139277)

We were failing to pass a required argument when emitting the
diagnostic, so the source range was being used in place of an index.
This caused a failed assertion due to the incorrect index.

Fixes #139266



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list