[llvm-commits] CVS: llvm/lib/Analysis/ConstantRange.cpp

Nick Lewycky nicholas at mxc.ca
Sat Feb 10 16:59:09 PST 2007



Changes in directory llvm/lib/Analysis:

ConstantRange.cpp updated: 1.33 -> 1.34
---
Log message:

Fix comments to match names of functions.


---
Diffs of the changes:  (+2 -2)

 ConstantRange.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Analysis/ConstantRange.cpp
diff -u llvm/lib/Analysis/ConstantRange.cpp:1.33 llvm/lib/Analysis/ConstantRange.cpp:1.34
--- llvm/lib/Analysis/ConstantRange.cpp:1.33	Fri Jan 19 15:13:56 2007
+++ llvm/lib/Analysis/ConstantRange.cpp	Sat Feb 10 18:58:49 2007
@@ -274,7 +274,7 @@
   }
 }
 
-/// intersect - Return the range that results from the intersection of this
+/// intersectWith - Return the range that results from the intersection of this
 /// range with another range.
 ///
 ConstantRange ConstantRange::intersectWith(const ConstantRange &CR,
@@ -308,7 +308,7 @@
   return *this;
 }
 
-/// union - Return the range that results from the union of this range with
+/// unionWith - Return the range that results from the union of this range with
 /// another range.  The resultant range is guaranteed to include the elements of
 /// both sets, but may contain more.  For example, [3, 9) union [12,15) is [3,
 /// 15), which includes 9, 10, and 11, which were not included in either set






More information about the llvm-commits mailing list