Searched refs:MaxElements (Results 1 – 1 of 1) sorted by relevance
2362 llvm::APSInt MaxElements(cast<ConstantArrayType>(AT)->getSize(), false); in CheckDesignatedInitializer() local2364 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()2365 DesignatedStartIndex.setIsUnsigned(MaxElements.isUnsigned()); in CheckDesignatedInitializer()2367 = DesignatedEndIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()2368 DesignatedEndIndex.setIsUnsigned(MaxElements.isUnsigned()); in CheckDesignatedInitializer()2369 if (DesignatedEndIndex >= MaxElements) { in CheckDesignatedInitializer()2373 << DesignatedEndIndex.toString(10) << MaxElements.toString(10) in CheckDesignatedInitializer()