summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
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
commit63f110880be1383ed2c83c299fe5f43340fa6aff (patch)
tree731f033628bb80b07759c7a254d6fc7b41c7522c /llvm/lib/Analysis
parent2a8d2e0e52ce7f2c2689301979b3d02601b2bde4 (diff)
downloadbcm5719-llvm-63f110880be1383ed2c83c299fe5f43340fa6aff.tar.gz
bcm5719-llvm-63f110880be1383ed2c83c299fe5f43340fa6aff.zip
Fix comments to match names of functions.
llvm-svn: 34173
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/ConstantRange.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ConstantRange.cpp b/llvm/lib/Analysis/ConstantRange.cpp
index 022c34fe409..c6948576f8b 100644
--- a/llvm/lib/Analysis/ConstantRange.cpp
+++ b/llvm/lib/Analysis/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
OpenPOWER on IntegriCloud