[all-commits] [llvm/llvm-project] 82e29c: Fixed failed assertion w/attribute on anon unions

Aaron Ballman via All-commits all-commits at lists.llvm.org
Fri Jun 23 05:58:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82e29c65e3112fd5d7ed71250bf53ffaec87c2be
      https://github.com/llvm/llvm-project/commit/82e29c65e3112fd5d7ed71250bf53ffaec87c2be
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/SemaCXX/anonymous-union.cpp

  Log Message:
  -----------
  Fixed failed assertion w/attribute on anon unions

This amends 304d1304b7bac190b6c9733eb07be284bfc17030 to process the
declaration attributes rather than assert on them; nothing prevents an
attribute from being written on an anonymous union.

Fixes https://github.com/llvm/llvm-project/issues/48512




More information about the All-commits mailing list