[PATCH] D65935: [ASTImporter] Import ctor initializers after setting flags.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 11 23:47:32 PDT 2019
balazske added a comment.
In this case the problem was that some of the flags of the already created and inserted `ToFunction` are not initialized. During the import of some "ctor initializers" this non-complete ToFunction may be accessed somehow (by structural equivalence or other code) and an assert comes because invalid value. (Maybe in the test code the second constructor is imported as "ctor initializer" during the import of the first.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65935/new/
https://reviews.llvm.org/D65935
More information about the cfe-commits
mailing list