[llvm-commits] CVS: llvm/include/llvm/Support/ConstantRange.h
Nick Lewycky
nicholas at mxc.ca
Sat Feb 10 16:59:09 PST 2007
Changes in directory llvm/include/llvm/Support:
ConstantRange.h updated: 1.14 -> 1.15
---
Log message:
Fix comments to match names of functions.
---
Diffs of the changes: (+7 -7)
ConstantRange.h | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
Index: llvm/include/llvm/Support/ConstantRange.h
diff -u llvm/include/llvm/Support/ConstantRange.h:1.14 llvm/include/llvm/Support/ConstantRange.h:1.15
--- llvm/include/llvm/Support/ConstantRange.h:1.14 Thu Jan 11 06:24:13 2007
+++ llvm/include/llvm/Support/ConstantRange.h Sat Feb 10 18:58:49 2007
@@ -120,19 +120,19 @@
/// constant range.
ConstantRange subtract(ConstantInt *CI) const;
- /// intersect - Return the range that results from the intersection of this
- /// range with another range. The resultant range is pruned as much as
+ /// intersectWith - Return the range that results from the intersection of
+ /// this range with another range. The resultant range is pruned as much as
/// possible, but there may be cases where elements are included that are in
/// one of the sets but not the other. For example: [100, 8) intersect [3,
/// 120) yields [3, 120)
///
ConstantRange intersectWith(const ConstantRange &CR, bool isSigned) const;
- /// union - 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 before.
+ /// 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 before.
///
ConstantRange unionWith(const ConstantRange &CR, bool isSigned) const;
More information about the llvm-commits
mailing list