[clang][AST][ASTImporter] Set record to complete during import of its members.
At import of a member it may require that the record is already set to complete. (For example 'computeDependence' at create of some Expr nodes.) The record at this time may not be completely imported, the result of layout calculations can be incorrect, but at least no crash occurs this way. A good solution would be if fields of every encountered record are imported before other members of all records. This is much more difficult to implement. Differential Revision: https://reviews.llvm.org/D116155
parent
e59d6dc0
Please register or sign in to comment