We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08f5646 commit 6fa7631Copy full SHA for 6fa7631
tinyexpr.cpp
@@ -2384,6 +2384,7 @@ te_type te_parser::te_eval(const te_expr* texp)
2384
[&, texp]<typename T0>(const T0& var) -> te_type
2385
{
2386
using T = std::decay_t<T0>;
2387
+ // cppcheck-suppress-begin internalAstError
2388
if constexpr (te_is_constant_v<T>)
2389
2390
return var;
@@ -2414,6 +2415,7 @@ te_type te_parser::te_eval(const te_expr* texp)
2414
2415
return std::apply(var,
2416
make_function_arg_list(M, std::make_index_sequence<n_args>{}));
2417
}
2418
+ // cppcheck-suppress-end internalAstError
2419
return te_nan;
2420
},
2421
texp->m_value);
0 commit comments