kwk added a comment.
> The only code that is currently after addDecl is changing whether the special
> members are
> defaulted/trivial. I'm not sure if this actually fixes anything but it's
> more correct than what we
> did before.
But at least you return immediately after calling `addDecl`.
teemperor created this revision.
teemperor added a reviewer: shafik.
Herald added subscribers: lldb-commits, JDevlieghere.
Herald added a project: LLDB.
Calling `addDecl` on a CXXRecordDecl is not a trivial method but is actually
inspecting the added
declarations to infer properties about the