[llvm-bugs] [Bug 37352] llvm/tools/clang/lib/AST/ItaniumCXXABI.cpp:44: const clang::IdentifierInfo* {anonymous}::findAnonymousUnionVarDeclName(const clang::VarDecl&): Assertion `RT && "type of VarDecl is expected to be RecordType."' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 7 15:23:47 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37352

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
/Almost/ valid test-case:

struct A {
  int n;
  void f() { static auto [a] = *this; }
};

Fixed in r331692.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180507/5f91196e/attachment.html>


More information about the llvm-bugs mailing list