Actually, this tree isn't necessarily binary.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154762 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Rewrite/RewriteRope.cpp b/lib/Rewrite/RewriteRope.cpp
index 88bf21d..cc8de1b 100644
--- a/lib/Rewrite/RewriteRope.cpp
+++ b/lib/Rewrite/RewriteRope.cpp
@@ -408,8 +408,8 @@
     }
 
     ~RopePieceBTreeInterior() {
-      Children[0]->Destroy();
-      Children[1]->Destroy();
+      for (unsigned i = 0, e = getNumChildren(); i != e; ++i)
+        Children[i]->Destroy();
     }
 
     bool isFull() const { return NumChildren == 2*WidthFactor; }