[all-commits] [llvm/llvm-project] c3d020: [libc++] Avoid using anonymous struct with base cl...

Azat Khuzhin via All-commits all-commits at lists.llvm.org
Fri Apr 8 13:15:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3d0205ee771edbee287b389699eab70b3670ecf
      https://github.com/llvm/llvm-project/commit/c3d0205ee771edbee287b389699eab70b3670ecf
  Author: Azat Khuzhin <a3at.mail at gmail.com>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M libcxx/include/string

  Log Message:
  -----------
  [libc++] Avoid using anonymous struct with base classes (fixes GCC 12)

GCC 12 reports:

     libcxx/include/string:727:13: error: anonymous struct with base classes
     727 |             : __padding<value_type>

Differential Revision: https://reviews.llvm.org/D122598




More information about the All-commits mailing list