Remove two obsolete qdoc comments
The macros Q_GLOBAL_STATIC(Type, VariableName) and Q_GLOBAL_STATIC_WITH_ARGS(Type, VariableName, Arguments) were documented in qglobal.cpp, but both qdoc comments were marked \internal. More recent documentation for the macros also exists in qglobalstatic.qdoc, and the qdoc comments there are not marked \internal. clang-qdoc reports errors indicating that both macros havew been documented in two places. This update removes the older comments that are marked \internal. Change-Id: I1c319b831d705d86eb4142b9963dbf56edc72772 Reviewed-by: Martin Smith <martin.smith@qt.io>
This commit is contained in:
parent
c3e0f09e33
commit
e27bb2fd25
@ -4066,43 +4066,6 @@ bool QInternal::activateCallbacks(Callback cb, void **parameters)
|
||||
\sa Q_BYTE_ORDER, Q_LITTLE_ENDIAN
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_GLOBAL_STATIC(type, name)
|
||||
\internal
|
||||
|
||||
Declares a global static variable with the given \a type and \a name.
|
||||
|
||||
Use this macro to instantiate an object in a thread-safe way, creating
|
||||
a global pointer that can be used to refer to it.
|
||||
|
||||
\warning This macro is subject to a race condition that can cause the object
|
||||
to be constructed twice. However, if this occurs, the second instance will
|
||||
be immediately deleted.
|
||||
|
||||
See also
|
||||
\l{http://www.aristeia.com/publications.html}{"C++ and the perils of Double-Checked Locking"}
|
||||
by Scott Meyers and Andrei Alexandrescu.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_GLOBAL_STATIC_WITH_ARGS(type, name, arguments)
|
||||
\internal
|
||||
|
||||
Declares a global static variable with the specified \a type and \a name.
|
||||
|
||||
Use this macro to instantiate an object using the \a arguments specified
|
||||
in a thread-safe way, creating a global pointer that can be used to refer
|
||||
to it.
|
||||
|
||||
\warning This macro is subject to a race condition that can cause the object
|
||||
to be constructed twice. However, if this occurs, the second instance will
|
||||
be immediately deleted.
|
||||
|
||||
See also
|
||||
\l{http://www.aristeia.com/publications.html}{"C++ and the perils of Double-Checked Locking"}
|
||||
by Scott Meyers and Andrei Alexandrescu.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro QT_NAMESPACE
|
||||
\internal
|
||||
|
Loading…
Reference in New Issue
Block a user