[all-commits] [llvm/llvm-project] 816e29: [Clang] Correct diagnostic notes for C++11 range-b...

Tom Honermann via All-commits all-commits at lists.llvm.org
Thu Jun 4 08:15:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 816e2924786a0d7d300aa9a2ff80e5a2a082e6fa
      https://github.com/llvm/llvm-project/commit/816e2924786a0d7d300aa9a2ff80e5a2a082e6fa
  Author: Tom Honermann <tom.honermann at intel.com>
  Date:   2026-06-04 (Thu, 04 Jun 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaStmt.cpp
    M clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp
    M clang/test/SemaCXX/co_await-range-for.cpp
    M clang/test/SemaCXX/for-range-dereference.cpp

  Log Message:
  -----------
  [Clang] Correct diagnostic notes for C++11 range-based for statements with invalid iterator types (#201461)

Previously, diagnostic notes issued for errors encountered due to invalid
iterator types in C++11 range-based for statements reported the range type
as the iterator type instead of the invalid iterator type.  Now fixed.



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