forked from OSchip/llvm-project
Assert we've found the size of each (non-overlapping) structure. NFCI.
Fixes clang static analyzer warning.
This commit is contained in:
parent
71a16e40f7
commit
3b7708e2de
|
@ -7692,6 +7692,7 @@ private:
|
|||
break;
|
||||
}
|
||||
}
|
||||
assert(Size && "Failed to determine structure size");
|
||||
CombinedInfo.BasePointers.push_back(BP.getPointer());
|
||||
CombinedInfo.Pointers.push_back(LB.getPointer());
|
||||
CombinedInfo.Sizes.push_back(CGF.Builder.CreateIntCast(
|
||||
|
|
Loading…
Reference in New Issue