[libc] Fix non-calls to cpp::is_complex_type_same (#121257)
Some uses were not actually calls, just references to the name.
This commit is contained in:
parent
28ae2ff2a4
commit
70c9152f99
@ -131,11 +131,11 @@ public:
|
||||
else if constexpr (cpp::is_complex_type_same<T, _Complex long double>())
|
||||
return matchComplex<long double>();
|
||||
#ifdef LIBC_TYPES_HAS_CFLOAT16
|
||||
else if constexpr (cpp::is_complex_type_same<T, cfloat16>)
|
||||
else if constexpr (cpp::is_complex_type_same<T, cfloat16>())
|
||||
return matchComplex<float16>();
|
||||
#endif
|
||||
#ifdef LIBC_TYPES_HAS_CFLOAT128
|
||||
else if constexpr (cpp::is_complex_type_same<T, cfloat128>)
|
||||
else if constexpr (cpp::is_complex_type_same<T, cfloat128>())
|
||||
return matchComplex<float128>();
|
||||
#endif
|
||||
}
|
||||
@ -148,11 +148,11 @@ public:
|
||||
else if constexpr (cpp::is_complex_type_same<T, _Complex long double>())
|
||||
return explainErrorComplex<long double>();
|
||||
#ifdef LIBC_TYPES_HAS_CFLOAT16
|
||||
else if constexpr (cpp::is_complex_type_same<T, cfloat16>)
|
||||
else if constexpr (cpp::is_complex_type_same<T, cfloat16>())
|
||||
return explainErrorComplex<float16>();
|
||||
#endif
|
||||
#ifdef LIBC_TYPES_HAS_CFLOAT128
|
||||
else if constexpr (cpp::is_complex_type_same<T, cfloat128>)
|
||||
else if constexpr (cpp::is_complex_type_same<T, cfloat128>())
|
||||
return explainErrorComplex<float128>();
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user