diff options
author | Martin Smith <martin.smith@qt.io> | 2018-01-02 12:46:30 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2018-01-02 14:17:38 +0000 |
commit | f28ef0eca9d51cf4191514a2b8f370e5f63eeee8 (patch) | |
tree | 8634757a81f3abcedc8eb6774e04624511dc5d7c | |
parent | 9de26a630fd49014b40e7322c971f3d96fc986af (diff) |
doc: Correct remaining qdoc warnings in QRandomGenerator
Due to the integration of clang in qdoc, several qdoc warnings
appeared for class QRandomGenerator. This update corrects all
the remaining qdoc warnings.
Change-Id: I92fe9f7d9cb193e145ee8ad0e7198625b9a5bf7b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/corelib/global/qrandom.cpp | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp index f5c01aeaa6..b5d89ab094 100644 --- a/src/corelib/global/qrandom.cpp +++ b/src/corelib/global/qrandom.cpp @@ -671,7 +671,7 @@ inline QRandomGenerator::SystemGenerator &QRandomGenerator::SystemGenerator::sel */ /*! - \fn QRandomGenerator::QRandomGenerator(const quint32 (&seedBuffer)[N]) + \fn template <qsizetype N> QRandomGenerator::QRandomGenerator(const quint32 (&seedBuffer)[N]) \overload Initializes this QRandomGenerator object with the values found in the @@ -765,9 +765,9 @@ inline QRandomGenerator::SystemGenerator &QRandomGenerator::SystemGenerator::sel /*! \typedef QRandomGenerator::result_type - A typedef to the type that operator()() returns. That is, quint32. + A typedef to the type that operator() returns. That is, quint32. - \sa {QRandomGenerator::operator()}{operator()()} + \sa operator() */ /*! @@ -837,7 +837,7 @@ inline QRandomGenerator::SystemGenerator &QRandomGenerator::SystemGenerator::sel */ /*! - \fn void QRandomGenerator::generate(ForwardIterator begin, ForwardIterator end) + \fn template <typename ForwardIterator> void QRandomGenerator::generate(ForwardIterator begin, ForwardIterator end) Generates 32-bit quantities and stores them in the range between \a begin and \a end. This function is equivalent to (and is implemented as): @@ -874,7 +874,7 @@ inline QRandomGenerator::SystemGenerator &QRandomGenerator::SystemGenerator::sel */ /*! - \fn void QRandomGenerator::fillRange(UInt *buffer, qsizetype count) + \fn template <typename UInt> void QRandomGenerator::fillRange(UInt *buffer, qsizetype count) Generates \a count 32- or 64-bit quantities (depending on the type \c UInt) and stores them in the buffer pointed by \a buffer. This is the most @@ -894,7 +894,7 @@ inline QRandomGenerator::SystemGenerator &QRandomGenerator::SystemGenerator::sel */ /*! - \fn void QRandomGenerator::fillRange(UInt (&buffer)[N}) + \fn template <typename UInt, size_t N> void QRandomGenerator::fillRange(UInt (&buffer)[N}) Generates \c N 32- or 64-bit quantities (depending on the type \c UInt) and stores them in the \a buffer array. This is the most efficient way to @@ -1108,18 +1108,11 @@ inline QRandomGenerator::SystemGenerator &QRandomGenerator::SystemGenerator::sel */ /*! - \fn QRandomGenerator64::QRandomGenerator64(const QRandomGenerator &other) - \internal - - Creates a copy. -*/ - -/*! \typedef QRandomGenerator64::result_type - A typedef to the type that operator()() returns. That is, quint64. + A typedef to the type that operator() returns. That is, quint64. - \sa {QRandomGenerator64::operator()}{operator()()} + \sa operator() */ /*! |