ItemAnalysis struct
The results of analyzing the item expressions of a case statement or other case-like construct.
Public variables
- SmallMap<ConstantValue, const Expression*, 4> values
- All constant item values, mapped to the first expression that has that value.
-
SmallVector<std::
pair<SVInt, const Expression*>> integerItems - The unique constant integer item values, in declaration order.
- bool hasNonConstItems
- Set to true if any of the items are not constant.