| 3033 | } |
| 3034 | |
| 3035 | int64_t getConstExprIntOrUInt ( ExpressionPtr expr ) { |
| 3036 | auto result = tryGetConstExprIntOrUInt(expr); |
| 3037 | DAS_ASSERTF ( result.second, |
| 3038 | "we should not even be here. there is an enumeration of unsupported type." |
| 3039 | "something in enumeration (or otherwise) did not fold."); |
| 3040 | return result.second ? result.first : 0; |
| 3041 | } |
| 3042 | |
| 3043 | } |
no test coverage detected