[PATCH] D134885: [Clang] Fix variant crashes from GH58028, GH57370

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 30 09:12:52 PDT 2022


erichkeane added a comment.

Only thing I can think of is the 'Aggregate' calculation for this diagnostic is going wrong somewhere.  See SemaDeclcXX.cpp ~6759 for where this all happens.

Aggregate IS initialized correctly to 'true' in CXXRecordDecl's DefinitionData as far as I can tell.  BUT I can't imagine that some sort of optimization or mis-initialization of aggregate wouldn't cause some significant problems elsewhere.  I'm thoroughly confused.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134885/new/

https://reviews.llvm.org/D134885



More information about the cfe-commits mailing list