summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qtnoop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qtnoop.h')
-rw-r--r--src/corelib/global/qtnoop.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/corelib/global/qtnoop.h b/src/corelib/global/qtnoop.h
new file mode 100644
index 0000000000..c84e6c8a99
--- /dev/null
+++ b/src/corelib/global/qtnoop.h
@@ -0,0 +1,20 @@
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#ifndef QTNOOP_H
+#define QTNOOP_H
+
+#if 0
+#pragma qt_sync_stop_processing
+#endif
+
+#ifdef __cplusplus
+constexpr
+#endif
+inline void qt_noop(void)
+#ifdef __cplusplus
+ noexcept
+#endif
+{}
+
+#endif // QTNOOP_H