1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix comments to match names of functions.

llvm-svn: 34173
This commit is contained in:
Nick Lewycky 2007-02-11 00:58:49 +00:00
parent 8aafcbb579
commit b994bafc0f
2 changed files with 9 additions and 9 deletions

View File

@ -120,19 +120,19 @@ class ConstantRange {
/// 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;

View File

@ -274,7 +274,7 @@ static ConstantRange intersect1Wrapped(const ConstantRange &LHS,
}
}
/// 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 @@ ConstantRange ConstantRange::intersectWith(const ConstantRange &CR,
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