From b1855de3d61eab7d2f2e616ed59195f83e2a6dc0 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 5 Feb 2013 22:03:14 +0000 Subject: [PATCH] Add note why we used a switch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174449 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/CFG.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Analysis/CFG.cpp b/lib/Analysis/CFG.cpp index 1cbaaee4a1..01553b884e 100644 --- a/lib/Analysis/CFG.cpp +++ b/lib/Analysis/CFG.cpp @@ -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(S); children = llvm::makeArrayRef(reinterpret_cast(IE->getInits()), -- 2.40.0