Add template text to \fn commands for QGlobalStatic

The \fn commands were not recognized by clang-qdoc because
the template stuff was missing from the \fn commands. This
update adds the correct template text and parameters.

Change-Id: I920d9cc4bef710f276267a34b6b9d49f7412adb0
Reviewed-by: Martin Smith <martin.smith@qt.io>
bb10
Martin Smith 2017-09-11 13:45:45 +02:00
parent 8f1b4a9081
commit a69675a9f9
1 changed files with 6 additions and 6 deletions

View File

@ -368,7 +368,7 @@
*/
/*!
\fn bool QGlobalStatic::isDestroyed() const
\fn template <typename T, T *(&innerFunction)(), QBasicAtomicInt &guard> bool QGlobalStatic<T, innerFunction, guard>::isDestroyed() const
This function returns \c true if the global static object has already
completed destruction (that is, if the destructor for the type has already
@ -398,7 +398,7 @@
*/
/*!
\fn bool QGlobalStatic::exists() const
\fn template <typename T, T *(&innerFunction)(), QBasicAtomicInt &guard> bool QGlobalStatic<T, innerFunction, guard>::exists() const
This function returns \c true if the global static object has already
completed initialization (that is, if the constructor for the type has
@ -447,7 +447,7 @@
*/
/*!
\fn QGlobalStatic::operator Type*()
\fn template <typename T, T *(&innerFunction)(), QBasicAtomicInt &guard> QGlobalStatic<T, innerFunction, guard>::operator Type*()
This function returns the address of the contents of this global static. If
the contents have not yet been created, they will be created thread-safely
@ -480,7 +480,7 @@
*/
/*!
\fn Type *QGlobalStatic::operator()()
\fn template <typename T, T *(&innerFunction)(), QBasicAtomicInt &guard> Type *QGlobalStatic<T, innerFunction, guard>::operator()()
\deprecated
This function returns the address of the contents of this global static. If
@ -495,7 +495,7 @@
*/
/*!
\fn Type *QGlobalStatic::operator->()
\fn template <typename T, T *(&innerFunction)(), QBasicAtomicInt &guard> Type *QGlobalStatic<T, innerFunction, guard>::operator->()
This function returns the address of the contents of this global static. If
the contents have not yet been created, they will be created thread-safely
@ -508,7 +508,7 @@
*/
/*!
\fn Type &QGlobalStatic::operator*()
\fn template <typename T, T *(&innerFunction)(), QBasicAtomicInt &guard> Type &QGlobalStatic<T, innerFunction, guard>::operator*()
This function returns a reference to the contents of this global static. If
the contents have not yet been created, they will be created thread-safely