[all-commits] [llvm/llvm-project] 5a9f10: [clang] Create PointerToBoolean casts for C casts ...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Aug 27 21:20:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a9f1039c7732920dd1f4374074fdf09b58184ea
      https://github.com/llvm/llvm-project/commit/5a9f1039c7732920dd1f4374074fdf09b58184ea
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M clang/lib/Sema/SemaCast.cpp
    A clang/test/CodeGen/issue155126.c
    M clang/test/Sema/constexpr.c

  Log Message:
  -----------
  [clang] Create PointerToBoolean casts for C casts (#155368)

Don't create CK_BitCast casts from `nullptr_t` to `bool`.

Fixes #155126



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