aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/ConstantRange.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2007-02-11 00:58:49 +0000
committerNick Lewycky <nicholas@mxc.ca>2007-02-11 00:58:49 +0000
commit3e051647c079fe29db049646b39611fc0135327d (patch)
treead139117892d3553d53a3197a447ddc383437ee8 /lib/Support/ConstantRange.cpp
parent33f294930e0affa51c3818405741abd80cc90316 (diff)
downloadexternal_llvm-3e051647c079fe29db049646b39611fc0135327d.zip
external_llvm-3e051647c079fe29db049646b39611fc0135327d.tar.gz
external_llvm-3e051647c079fe29db049646b39611fc0135327d.tar.bz2
Fix comments to match names of functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/ConstantRange.cpp')
-rw-r--r--lib/Support/ConstantRange.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/ConstantRange.cpp b/lib/Support/ConstantRange.cpp
index 022c34f..c694857 100644
--- a/lib/Support/ConstantRange.cpp
+++ b/lib/Support/ConstantRange.cpp
@@ -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