summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2021-11-04 20:44:02 -0700
committerThiago Macieira <thiago.macieira@intel.com>2021-11-05 21:13:35 -0700
commit8790142aebf22a9e0397ec63dfc7bad72a1ee7a6 (patch)
tree08c82f5a7efd9e8094af8cfc4b779e28600b349b /tests/auto/corelib
parent4fe71db2ee0db2eab3d1927a1904635a3d26970f (diff)
QPluginLoader: fix indentation and comments
Indetnation was bad in commit 0ab3c5c2505dcfa684fd4a3961f24345de7e1d6f and was missed in code review and one comment wasn't updated when the code was. Take the opportunity to remove an old TODO that has been completed for years. Change-Id: Ice04365c72984d07a64dfffd16b4899604513680 Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/fakeplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/plugin/qpluginloader/fakeplugin.cpp b/tests/auto/corelib/plugin/qpluginloader/fakeplugin.cpp
index c1b939bf3e..899586ed15 100644
--- a/tests/auto/corelib/plugin/qpluginloader/fakeplugin.cpp
+++ b/tests/auto/corelib/plugin/qpluginloader/fakeplugin.cpp
@@ -51,7 +51,7 @@ static constexpr bool IsDebug = false;
#if defined(__ELF__) && PLUGIN_VERSION >= 1
// GCC will produce:
-// fakeplugin.cpp:64:3: warning: ‘no_sanitize_address’ attribute ignored [-Wattributes]
+// fakeplugin.cpp:64:3: warning: ‘no_sanitize’ attribute ignored [-Wattributes]
__attribute__((section(".note.qt.metadata"), used, no_sanitize("address"), aligned(sizeof(void*))))
static const struct {
unsigned n_namesz = sizeof(name);