redundant_pattern_matching: avoid non-const fn
calls in const contexts
#5724
+318
−46
const fn
calls in const contexts
#5724