Searched refs:DesignatedStartIndex (Results 1 – 2 of 2) sorted by relevance
2423 llvm::APSInt DesignatedStartIndex, DesignatedEndIndex; in CheckDesignatedInitializer() local2426 DesignatedStartIndex = IndexExpr->EvaluateKnownConstInt(SemaRef.Context); in CheckDesignatedInitializer()2427 DesignatedEndIndex = DesignatedStartIndex; in CheckDesignatedInitializer()2431 DesignatedStartIndex = in CheckDesignatedInitializer()2442 if (DesignatedStartIndex.getZExtValue()!=DesignatedEndIndex.getZExtValue()&& in CheckDesignatedInitializer()2449 DesignatedStartIndex in CheckDesignatedInitializer()2450 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()2451 DesignatedStartIndex.setIsUnsigned(MaxElements.isUnsigned()); in CheckDesignatedInitializer()2467 DesignatedStartIndex = in CheckDesignatedInitializer()2468 DesignatedStartIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()[all …]
2811 llvm::APSInt DesignatedStartIndex, DesignatedEndIndex; in CheckDesignatedInitializer() local2814 DesignatedStartIndex = IndexExpr->EvaluateKnownConstInt(SemaRef.Context); in CheckDesignatedInitializer()2815 DesignatedEndIndex = DesignatedStartIndex; in CheckDesignatedInitializer()2819 DesignatedStartIndex = in CheckDesignatedInitializer()2830 if (DesignatedStartIndex.getZExtValue()!=DesignatedEndIndex.getZExtValue()&& in CheckDesignatedInitializer()2837 DesignatedStartIndex in CheckDesignatedInitializer()2838 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()2839 DesignatedStartIndex.setIsUnsigned(MaxElements.isUnsigned()); in CheckDesignatedInitializer()2855 DesignatedStartIndex = in CheckDesignatedInitializer()2856 DesignatedStartIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()[all …]