reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGExprConstant.cpp
  922   if (Elements.size() < NonzeroLength && Filler->isNullValue())
  923     NonzeroLength = Elements.size();
  924   if (NonzeroLength == Elements.size()) {
  925     while (NonzeroLength > 0 && Elements[NonzeroLength - 1]->isNullValue())
  925     while (NonzeroLength > 0 && Elements[NonzeroLength - 1]->isNullValue())
  926       --NonzeroLength;
  929   if (NonzeroLength == 0)
  933   unsigned TrailingZeroes = ArrayBound - NonzeroLength;
  935     assert(Elements.size() >= NonzeroLength &&
  940     if (CommonElementType && NonzeroLength >= 8) {
  942           llvm::ArrayType::get(CommonElementType, NonzeroLength),
  943           makeArrayRef(Elements).take_front(NonzeroLength));
  947       Elements.resize(NonzeroLength + 1);