Add the ability to use the children() range API in a const-correct manner
Needs ReviewPublic

Authored by aaron.ballman on Mon, Mar 20, 3:30 PM.



We already have children() but not children() const, which is causing some problems for me on an out of tree project. Most of the changes here are mechanical, except for the work done to ConstStmtIterator, which cheats and uses a const_cast. Since none of these are *actually* const, this should not trigger UB.

Diff Detail

aaron.ballman created this revision.Mon, Mar 20, 3:30 PM

Missed a case for UnaryExprOrTypeTraitExpr.