[all-commits] [llvm/llvm-project] d049db: [clang] Fix false warning on reinterpret_casting u...

Arseniy Zaostrovnykh via All-commits all-commits at lists.llvm.org
Mon Jan 20 01:03:20 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d049db83627d164e4353f59a5f0b4f87dd74b138
      https://github.com/llvm/llvm-project/commit/d049db83627d164e4353f59a5f0b4f87dd74b138
  Author: Arseniy Zaostrovnykh <necto.ne at gmail.com>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaCast.cpp
    M clang/test/SemaCXX/reinterpret-cast.cpp

  Log Message:
  -----------
  [clang] Fix false warning on reinterpret_casting unknown template type (#109430)

After 1595988ee6f9732e7ea79928af8a470ad5ef7dbe
diag::warn_undefined_reinterpret_cast started raising on
non-instantiated template functions without sufficient knowledge whether
the reinterpret_cast is indeed UB.



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