Add note why we used a switch.

llvm-svn: 174449
This commit is contained in:
Ted Kremenek 2013-02-05 22:03:14 +00:00
parent 948321e328
commit 7d86b9ce1e
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ reverse_children::reverse_children(Stmt *S) {
return;
}
switch (S->getStmtClass()) {
// Note: Fill in this switch with more cases we want to optimize.
case Stmt::InitListExprClass: {
InitListExpr *IE = cast<InitListExpr>(S);
children = llvm::makeArrayRef(reinterpret_cast<Stmt**>(IE->getInits()),