[all-commits] [llvm/llvm-project] 947cd6: [C23] Select the correct promoted type for a bit-f...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Mon Apr 22 09:00:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 947cd677083d69412b5a900d8fad59e3062c4875
      https://github.com/llvm/llvm-project/commit/947cd677083d69412b5a900d8fad59e3062c4875
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/Interp/IntegralAP.h
    A clang/test/Sema/bitint-bitfield-promote.c

  Log Message:
  -----------
  [C23] Select the correct promoted type for a bit-field (#89254)

Bit-fields of bit-precise integer type do not promote to int, but
instead promote to the type of the field.

Fixes #87641



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