a_sidorin added a comment. > Mmm, what are the pros and cons?
This is how we do it in the ASTImporter. It allows us to correctly handle redeclarations with and without bodies - the declarations in the current AST remain unchanged but a new declaration appears. But it can be a kind of a professional deformation :) BodyFarm is a much lighter facility and I won't argue that my approach is better - just an idea. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D60899/new/ https://reviews.llvm.org/D60899 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits