doc: Fix all qdoc errors in qnumeric_p.h

These errors resulted from clang parsing function
declarations for functions that were not meant to
be documented. Here they are hidden from clang
with #ifndef Q_CLANG_QDOC

Change-Id: I256b49830b63188bf0a685cb393d469f2f2ca315
Reviewed-by: Martin Smith <martin.smith@qt.io>
This commit is contained in:
Martin Smith 2017-01-16 11:16:13 +01:00
parent 5e0ef2defd
commit e6aae7df04

View File

@ -163,6 +163,7 @@ Q_DECL_CONST_FUNCTION static inline bool qt_is_finite(float f)
return qnumeric_std_wrapper::isfinite(f); return qnumeric_std_wrapper::isfinite(f);
} }
#ifndef Q_CLANG_QDOC
// //
// Unsigned overflow math // Unsigned overflow math
// //
@ -355,7 +356,7 @@ inline bool mul_overflow(int v1, int v2, int *r)
return t > std::numeric_limits<int>::max() || t < std::numeric_limits<int>::min(); return t > std::numeric_limits<int>::max() || t < std::numeric_limits<int>::min();
} }
#endif #endif
#endif // Q_CLANG_QDOC
} }
QT_END_NAMESPACE QT_END_NAMESPACE