reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3172 if (ParseGlobalValueVector(Elts) || 3177 if (Elts.empty()) { 3184 if (!Elts[0]->getType()->isFirstClassType()) 3186 getTypeString(Elts[0]->getType())); 3188 ArrayType *ATy = ArrayType::get(Elts[0]->getType(), Elts.size()); 3188 ArrayType *ATy = ArrayType::get(Elts[0]->getType(), Elts.size()); 3191 for (unsigned i = 0, e = Elts.size(); i != e; ++i) { 3192 if (Elts[i]->getType() != Elts[0]->getType()) 3192 if (Elts[i]->getType() != Elts[0]->getType()) 3195 " is not of type '" + getTypeString(Elts[0]->getType())); 3198 ID.ConstantVal = ConstantArray::get(ATy, Elts);