[all-commits] [llvm/llvm-project] 34a4c5: [clang] Rework `hasBooleanRepresentation`. (#136038)

Michele Scandale via All-commits all-commits at lists.llvm.org
Tue Apr 22 21:29:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34a4c58018730736b940c4db4d694feed3266f52
      https://github.com/llvm/llvm-project/commit/34a4c58018730736b940c4db4d694feed3266f52
  Author: Michele Scandale <michele.scandale at gmail.com>
  Date:   2025-04-22 (Tue, 22 Apr 2025)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/Type.cpp
    M clang/lib/CodeGen/CGExpr.cpp

  Log Message:
  -----------
  [clang] Rework `hasBooleanRepresentation`. (#136038)

This is a follow-up of 13aac46332f607a38067b5ddd466071683b8c255.
This commit adjusts the implementation of `hasBooleanRepresentation` to
be somewhat aligned to `hasIntegerRepresentation`.
In particular vector of booleans should be handled in
`hasBooleanRepresentation`, while `_Atomic(bool)` should not.



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