Add some documentation to make Nick happy.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 23 Dec 2006 19:06:54 +0000 (19:06 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 23 Dec 2006 19:06:54 +0000 (19:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32754 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/InstrTypes.h

index 152f4773ebe85acdc474f0f35c44cd50a8877137..22b52c5f73663799c76afba4e1734423e84b83d5 100644 (file)
@@ -532,7 +532,8 @@ public:
   unsigned getNumOperands() const { return 2; }
 
   /// This is just a convenience that dispatches to the subclasses.
-  /// @brief Swap the operands.
+  /// @brief Swap the operands and adjust predicate accordingly to retain
+  /// the same comparison.
   void swapOperands();
 
   /// This is just a convenience that dispatches to the subclasses.