summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-01-30 18:19:30 +0000
committerChris Lattner <sabre@nondot.org>2012-01-30 18:19:30 +0000
commitf06039b39d595d8eac14ee6412a10fd5c7ec93e1 (patch)
tree8949efa16aed7f027ddabd4c7acf330952c0bc1e /llvm/lib
parente577cfe172d551d36fe63c5fe14fd383d654d0ba (diff)
downloadbcm5719-llvm-f06039b39d595d8eac14ee6412a10fd5c7ec93e1.tar.gz
bcm5719-llvm-f06039b39d595d8eac14ee6412a10fd5c7ec93e1.zip
Various improvements suggested by Duncan
llvm-svn: 149255
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Constants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp
index aa00917cf0e..f7884c6862a 100644
--- a/llvm/lib/VMCore/Constants.cpp
+++ b/llvm/lib/VMCore/Constants.cpp
@@ -2109,7 +2109,7 @@ static bool isAllZeros(StringRef Arr) {
/// getImpl - This is the underlying implementation of all of the
/// ConstantDataSequential::get methods. They all thunk down to here, providing
-/// the correct element type. We take the bytes in as an StringRef because
+/// the correct element type. We take the bytes in as a StringRef because
/// we *want* an underlying "char*" to avoid TBAA type punning violations.
Constant *ConstantDataSequential::getImpl(StringRef Elements, Type *Ty) {
assert(isElementTypeCompatible(Ty->getSequentialElementType()));
OpenPOWER on IntegriCloud