From e6aae7df049ab034849c91d944b16f468bf21e40 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Mon, 16 Jan 2017 11:16:13 +0100 Subject: [PATCH] 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 --- src/corelib/global/qnumeric_p.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/corelib/global/qnumeric_p.h b/src/corelib/global/qnumeric_p.h index 37eddfa9b5..dd249f8cc8 100644 --- a/src/corelib/global/qnumeric_p.h +++ b/src/corelib/global/qnumeric_p.h @@ -163,6 +163,7 @@ Q_DECL_CONST_FUNCTION static inline bool qt_is_finite(float f) return qnumeric_std_wrapper::isfinite(f); } +#ifndef Q_CLANG_QDOC // // Unsigned overflow math // @@ -355,7 +356,7 @@ inline bool mul_overflow(int v1, int v2, int *r) return t > std::numeric_limits::max() || t < std::numeric_limits::min(); } #endif - +#endif // Q_CLANG_QDOC } QT_END_NAMESPACE