On Sun, Jul 6, 2014 at 6:00 PM, Nico Weber <[email protected]> wrote:

> I didn't modify AddStmtExprs() in ASTWriter.cpp, since none of the SEH
> nodes are in there (and e.g. STMT_CXX_TRY isn't either). Does anyone know
> what this function is good for, and if it should be updated with STMTs that
> are currently missing from there?


It should be used as part of the AST serialization, specifically to build
up the types of expressions which can be serialized... Not sure why we're
missing so much from that, or why it is factored this way. Most of the
statement seralization is nicely factored into ASTWriterStmt.cpp but for
some reason this vestige remains. Maybe it is completely dead code now? We
may just not need the meta-records it is streaming....
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to