This fixes importing of CaseStmts, because the importer was not importing its SubStmt.
A test was added and the test procedure was adjusted to also dump the imported Decl, because otherwise the bug would not be detected.
Differential D38943
[ASTImporter] import SubStmt of CaseStmt r.stahl on Oct 16 2017, 12:49 AM. Authored by
Details This fixes importing of CaseStmts, because the importer was not importing its SubStmt. A test was added and the test procedure was adjusted to also dump the imported Decl, because otherwise the bug would not be detected.
Diff Detail
Event TimelineComment Actions LGTM with a nit.
Comment Actions Thanks for the fast response. See inline comment.
Comment Actions If all is good, I will need someone to commit this for me please.
|
I just saw this change and I cannot find the reason, why do we need to print the imported declaration after we have printed the entire translation unit? Is there some special case?