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

References

tools/clang/lib/Sema/SemaInit.cpp
 1866   llvm::APSInt maxElements(elementIndex.getBitWidth(),
 1867                            elementIndex.isUnsigned());
 1871     elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth());
 1871     elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth());
 1872     elementIndex.setIsUnsigned(maxElements.isUnsigned());
 1889                                      DeclType, nullptr, &elementIndex, Index,
 1896       if (elementIndex.getBitWidth() > maxElements.getBitWidth())
 1897         maxElements = maxElements.extend(elementIndex.getBitWidth());
 1898       else if (elementIndex.getBitWidth() < maxElements.getBitWidth())
 1899         elementIndex = elementIndex.extend(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)
 1921     ++elementIndex;
 1925     if (!maxElementsKnown && elementIndex > maxElements)
 1926       maxElements = elementIndex;
 1946     if ((maxElementsKnown && elementIndex < maxElements) ||