diff options
author | Martin Smith <martin.smith@qt.io> | 2017-01-16 11:16:13 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2017-12-04 19:11:36 +0000 |
commit | e6aae7df049ab034849c91d944b16f468bf21e40 (patch) | |
tree | 61f56f5f7567cf20d5edea01115b5ccd28238d74 /src/corelib/global/qnumeric_p.h | |
parent | 5e0ef2defdb543aeef657c14aa0a65b395016e4d (diff) |
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>
Diffstat (limited to 'src/corelib/global/qnumeric_p.h')
-rw-r--r-- | src/corelib/global/qnumeric_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<int>::max() || t < std::numeric_limits<int>::min(); } #endif - +#endif // Q_CLANG_QDOC } QT_END_NAMESPACE |