Output all content which is local to the FunctionDecl before traversing
to child AST nodes.
This is necessary so that all of the part which is local to the FunctionDecl can be split into a different method.
Differential D55083
Re-arrange content in FunctionDecl dump steveire on Nov 29 2018, 3:18 PM. Authored by
Details Output all content which is local to the FunctionDecl before traversing This is necessary so that all of the part which is local to the FunctionDecl can be split into a different method.
Diff Detail
Event TimelineComment Actions The summary explains what it's doing, but not why it's doing it -- why is this change in behavior needed? Does this not break any tests? Btw, as we work on this refactoring, I think a good approach will be to build up the base of tests around AST dumping so that we can be explicitly aware of any behavioral changes from the patches. We have some coverage, but it doesn't look to be particularly comprehensive. I am happy to contribute some of these tests. WDYT? Comment Actions Yes, please commit your new tests for FunctionDecl dumping before this patch can go in.
Comment Actions LGTM aside from some nit cleanup.
|
Can switch to const auto *