This revision was automatically updated to reflect the committed changes.
Closed by commit rC324062: [Sema] Add implicit members even for invalid
CXXRecordDecls (authored by ibiryukov, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D42810?vs=132443&id=132546#toc
Repository:
bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.
lg
Repository:
rC Clang
https://reviews.llvm.org/D42810
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bi
ilya-biryukov added a comment.
The following assertion from `DeclContext::removeDecl` was failing before:
assert((D->NextInContextAndBits.getPointer() || D == LastDecl) &&
"decl is not in decls list");
Repository:
rC Clang
https://reviews.llvm.org/D42810
___
ilya-biryukov created this revision.
ilya-biryukov added a reviewer: bkramer.
It should be safe, since other code paths are already generating
implicit members even in invalid CXXRecordDecls (e.g. lookup).
If we don't generate implicit members on CXXRecordDecl's completion,
they will be generated