We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5bdac9 commit 8d08c3aCopy full SHA for 8d08c3a
llvm/lib/IR/Constants.cpp
@@ -3130,10 +3130,8 @@ bool ConstantDataSequential::isCString() const {
3130
3131
bool ConstantDataSequential::isUnicodeString() const {
3132
Type *CDSType = this->getElementType();
3133
- Type *GVType = IntegerType::getInt16Ty(this->getContext());
3134
- if (CDSType != GVType) {
+ if (CDSType != IntegerType::getInt16Ty(this->getContext()))
3135
return false;
3136
- }
3137
3138
StringRef RawDataValues = this->getRawDataValues();
3139
unsigned int NumElements = this->getNumElements();
0 commit comments