diff options
author | Chris Lattner <sabre@nondot.org> | 2012-01-30 18:19:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-01-30 18:19:30 +0000 |
commit | 8cf27efe4000c194efec4004afa83d12031c6d55 (patch) | |
tree | cfef7db8ba452bae9599f1af49f6419f4a04b657 /lib/VMCore/Constants.cpp | |
parent | b2f1b5028c03cd16c2452e81544d2da51fb373f2 (diff) |
Various improvements suggested by Duncan
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149255 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Constants.cpp')
-rw-r--r-- | lib/VMCore/Constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index aa00917cf0..f7884c6862 100644 --- a/lib/VMCore/Constants.cpp +++ b/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())); |