[all-commits] [llvm/llvm-project] 8e923e: Fix assertions and bad warnings on extremely wide ...

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Nov 17 14:37:22 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e923ec2a803d54154aaa0079c1cfcf146b7a22f
      https://github.com/llvm/llvm-project/commit/8e923ec2a803d54154aaa0079c1cfcf146b7a22f
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/SemaCXX/bitfield-layout.cpp

  Log Message:
  -----------
  Fix assertions and bad warnings on extremely wide bit-fields.

We used to produce a bogus warning if the width couldn't be represented
in 32 bits, and assert if it couldn't be represented in 64 bits.




More information about the All-commits mailing list