summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qtpreprocessorsupport.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qtpreprocessorsupport.qdoc')
-rw-r--r--src/corelib/global/qtpreprocessorsupport.qdoc20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/corelib/global/qtpreprocessorsupport.qdoc b/src/corelib/global/qtpreprocessorsupport.qdoc
new file mode 100644
index 0000000000..c9fedf4ec1
--- /dev/null
+++ b/src/corelib/global/qtpreprocessorsupport.qdoc
@@ -0,0 +1,20 @@
+// Copyright (C) 2020 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
+
+/*!
+ \macro Q_UNUSED(name)
+ \relates <QtPreprocessorSupport>
+
+ Indicates to the compiler that the parameter with the specified
+ \a name is not used in the body of a function. This can be used to
+ suppress compiler warnings while allowing functions to be defined
+ with meaningful parameter names in their signatures.
+*/
+
+/*!
+ \macro QT_STRINGIFY(arg)
+ \relates <QtPreprocessorSupport>
+
+ The macro can be used to turn the builtin line expander \a arg into a string
+ literal.
+*/