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

References

tools/clang/lib/Sema/SemaInit.cpp
 1870     maxElements = CAT->getSize();
 1871     elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth());
 1872     elementIndex.setIsUnsigned(maxElements.isUnsigned());
 1896       if (elementIndex.getBitWidth() > maxElements.getBitWidth())
 1897         maxElements = maxElements.extend(elementIndex.getBitWidth());
 1897         maxElements = maxElements.extend(elementIndex.getBitWidth());
 1898       else if (elementIndex.getBitWidth() < maxElements.getBitWidth())
 1899         elementIndex = elementIndex.extend(maxElements.getBitWidth());
 1900       elementIndex.setIsUnsigned(maxElements.isUnsigned());
 1904       if (!maxElementsKnown && elementIndex > maxElements)
 1905         maxElements = elementIndex;
 1912     if (maxElementsKnown && elementIndex == maxElements)
 1925     if (!maxElementsKnown && elementIndex > maxElements)
 1926       maxElements = elementIndex;
 1931     llvm::APSInt Zero(maxElements.getBitWidth(), maxElements.isUnsigned());
 1931     llvm::APSInt Zero(maxElements.getBitWidth(), maxElements.isUnsigned());
 1932     if (maxElements == Zero && !Entity.isVariableLengthArrayNew()) {
 1939         elementType, maxElements, nullptr, ArrayType::Normal, 0);
 1946     if ((maxElementsKnown && elementIndex < maxElements) ||