Restore r125595 (reverted in r126336) with modifications:
[oota-llvm.git] / include / llvm / Instructions.h
index c79fda0deb4ad62785d8e191172f013400333696..17ff763c52bf4df68926214966237691494ea3bc 100644 (file)
@@ -2247,7 +2247,8 @@ public:
 
   /// removeCase - This method removes the specified successor from the switch
   /// instruction.  Note that this cannot be used to remove the default
-  /// destination (successor #0).
+  /// destination (successor #0). Also note that this operation may reorder the
+  /// remaining cases at index idx and above.
   ///
   void removeCase(unsigned idx);