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 would elaborate a bit more on the purpose of the code below.