Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Clang-Tidy on taskcluster #9244

Merged
merged 28 commits into from
Apr 2, 2024

Update clang-tidy.md

b547bcb
Select commit
Loading
Failed to load commit list.
Merged

Run Clang-Tidy on taskcluster #9244

Update clang-tidy.md
b547bcb
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / source-test-clang-tidy-windows succeeded Mar 20, 2024 in 18m 4s

FirefoxCI (pull_request)

Clang-tidy (Treeherder push)

Details

View task in Taskcluster
View logs in Taskcluster


[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmpetb41_rd.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\feature\featuremodel.cpp
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\feature\featuremodel.cpp:159:12: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
[task 2024-03-20T19:33:02.733Z]     return QVariant();
[task 2024-03-20T19:33:02.733Z]            ^~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]            {}
[task 2024-03-20T19:33:02.733Z] 6934 warnings generated.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Suppressed 6933 warnings (6933 in non-user code).
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmpo9dbib5i.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\tasks\function\taskfunction.cpp
[task 2024-03-20T19:33:02.733Z] 3328 warnings generated.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Suppressed 3328 warnings (3328 in non-user code).
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmppqucrbzi.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\authenticationlistener.cpp
[task 2024-03-20T19:33:02.733Z] 4629 warnings generated.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Suppressed 4629 warnings (4629 in non-user code).
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmpgvv593d6.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\languagei18n.cpp
[task 2024-03-20T19:33:02.733Z] 6705 warnings generated.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Suppressed 6705 warnings (6705 in non-user code).
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmpfxev0_m5.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\inspector\inspectorhotreloader.cpp
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\inspector\inspectorhotreloader.cpp:47:59: warning: parameter 'type' is unused [misc-unused-parameters]
[task 2024-03-20T19:33:02.733Z]     const QUrl& url, QQmlAbstractUrlInterceptor::DataType type) {
[task 2024-03-20T19:33:02.733Z]                                                           ^~~~
[task 2024-03-20T19:33:02.733Z]                                                            /*type*/
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\inspector\inspectorhotreloader.cpp:83:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.733Z]   TaskFunction* dummy_task = new TaskFunction([]() {});
[task 2024-03-20T19:33:02.733Z]   ^~~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]   auto
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\inspector\inspectorhotreloader.cpp:84:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.733Z]   NetworkRequest* request = new NetworkRequest(dummy_task, 200);
[task 2024-03-20T19:33:02.733Z]   ^~~~~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]   auto
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\inspector\inspectorhotreloader.cpp:132:3: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.733Z]   QQmlApplicationEngine* engine =
[task 2024-03-20T19:33:02.733Z]   ^~~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]   auto
[task 2024-03-20T19:33:02.733Z] 6371 warnings generated.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Suppressed 6367 warnings (6367 in non-user code).
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmpasa51cy3.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\itempicker.cpp
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\itempicker.cpp:47:5: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.733Z]     QQuickWindow* window = qobject_cast<QQuickWindow*>(obj);
[task 2024-03-20T19:33:02.733Z]     ^~~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]     auto
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\itempicker.cpp:95:3: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.733Z]   QQuickItem* contentItem = item->property("contentItem").value<QQuickItem*>();
[task 2024-03-20T19:33:02.733Z]   ^~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]   auto
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\itempicker.cpp:139:3: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.733Z]   QQuickItem* contentItem = item->property("contentItem").value<QQuickItem*>();
[task 2024-03-20T19:33:02.733Z]   ^~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]   auto
[task 2024-03-20T19:33:02.733Z] 6475 warnings generated.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Suppressed 6472 warnings (6472 in non-user code).
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmpk179cnef.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\eventlistener.cpp
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\eventlistener.cpp:69:3: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.733Z]   QLocalSocket* socket = qobject_cast<QLocalSocket*>(obj);
[task 2024-03-20T19:33:02.733Z]   ^~~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]   auto
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\eventlistener.cpp:179:18: warning: escaped string literal can be written as a raw string literal [modernize-raw-string-literal]
[task 2024-03-20T19:33:02.733Z]   return QString("\\\\.\\pipe\\%1.ui").arg(simplified);
[task 2024-03-20T19:33:02.733Z]                  ^~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]                  R"(\\.\pipe\%1.ui)"
[task 2024-03-20T19:33:02.733Z] 8886 warnings generated.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Suppressed 8884 warnings (8884 in non-user code).
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmp0otla3bi.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\addons\addon.cpp
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\addons\addon.cpp:436:33: warning: pass by value and use std::move [modernize-pass-by-value]
[task 2024-03-20T19:33:02.733Z]              const QString& id, const QString& name, const QString& type)
[task 2024-03-20T19:33:02.733Z]                                 ^~~~~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]                                 QString 
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\addons\addon.cpp:436:54: warning: pass by value and use std::move [modernize-pass-by-value]
[task 2024-03-20T19:33:02.733Z]              const QString& id, const QString& name, const QString& type)
[task 2024-03-20T19:33:02.733Z]                                                      ^~~~~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]                                                      QString 
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\addons\addon.cpp:504:19: warning: Value stored to 'settingsHolder' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
[task 2024-03-20T19:33:02.733Z]   SettingsHolder* settingsHolder = SettingsHolder::instance();
[task 2024-03-20T19:33:02.733Z]                   ^~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\addons\addon.cpp:504:19: note: Value stored to 'settingsHolder' during its initialization is never read
[task 2024-03-20T19:33:02.733Z]   SettingsHolder* settingsHolder = SettingsHolder::instance();
[task 2024-03-20T19:33:02.733Z]                   ^~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\addons\addon.cpp:700:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.733Z]   QTranslator* translator = new QTranslator(this);
[task 2024-03-20T19:33:02.733Z]   ^~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]   auto
[task 2024-03-20T19:33:02.733Z] 8177 warnings generated.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Suppressed 8173 warnings (8173 in non-user code).
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.733Z] 
[task 2024-03-20T19:33:02.733Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmp9mt8twgq.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\loghandler.cpp
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\loghandler.cpp:230:53: warning: parameter 'proofOfLock' is unused [misc-unused-parameters]
[task 2024-03-20T19:33:02.733Z]                         const QMutexLocker<QMutex>& proofOfLock) {
[task 2024-03-20T19:33:02.733Z]                                                     ^~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]                                                      /*proofOfLock*/
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\loghandler.cpp:338:62: warning: parameter 'proofOfLock' is unused [misc-unused-parameters]
[task 2024-03-20T19:33:02.733Z] void LogHandler::truncateLogFile(const QMutexLocker<QMutex>& proofOfLock,
[task 2024-03-20T19:33:02.733Z]                                                              ^~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]                                                               /*proofOfLock*/
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\loghandler.cpp:472:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.733Z]   QString* buffer = new QString();
[task 2024-03-20T19:33:02.733Z]   ^~~~~~~
[task 2024-03-20T19:33:02.733Z]   auto
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\loghandler.cpp:473:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.733Z]   QTextStream* out = new QTextStream(buffer);
[task 2024-03-20T19:33:02.733Z]   ^~~~~~~~~~~
[task 2024-03-20T19:33:02.733Z]   auto
[task 2024-03-20T19:33:02.733Z] D:\task_171096265178028\build\src\src\loghandler.cpp:493:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.733Z]   LogSerializeHelper* lsh = new LogSerializeHelper(out, m_logSerializers,
[task 2024-03-20T19:33:02.733Z]   ^~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:33:02.734Z]   auto
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\loghandler.cpp:547:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.734Z]   QFile* file = new QFile(logFile);
[task 2024-03-20T19:33:02.734Z]   ^~~~~
[task 2024-03-20T19:33:02.734Z]   auto
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\loghandler.cpp:554:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.734Z]   QTextStream* out = new QTextStream(file);
[task 2024-03-20T19:33:02.734Z]   ^~~~~~~~~~~
[task 2024-03-20T19:33:02.734Z]   auto
[task 2024-03-20T19:33:02.734Z] 5319 warnings generated.
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] Suppressed 5312 warnings (5312 in non-user code).
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmp3qv08dc5.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\qmlengineholder.cpp
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\qmlengineholder.cpp:114:3: warning: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.734Z]   QQmlApplicationEngine* engine =
[task 2024-03-20T19:33:02.734Z]   ^~~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:33:02.734Z]   auto
[task 2024-03-20T19:33:02.734Z] 11657 warnings generated.
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] Suppressed 11656 warnings (11656 in non-user code).
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmp_fp52l4e.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\addons\manager\addonmanager.cpp
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\addons\manager\addonmanager.cpp:345:12: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
[task 2024-03-20T19:33:02.734Z]     return QVariant();
[task 2024-03-20T19:33:02.734Z]            ^~~~~~~~~~
[task 2024-03-20T19:33:02.734Z]            {}
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\addons\manager\addonmanager.cpp:364:14: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
[task 2024-03-20T19:33:02.734Z]       return QVariant();
[task 2024-03-20T19:33:02.734Z]              ^~~~~~~~~~
[task 2024-03-20T19:33:02.734Z]              {}
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\addons\manager\addonmanager.cpp:432:19: warning: Value stored to 'settingsHolder' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
[task 2024-03-20T19:33:02.734Z]   SettingsHolder* settingsHolder = SettingsHolder::instance();
[task 2024-03-20T19:33:02.734Z]                   ^~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\addons\manager\addonmanager.cpp:432:19: note: Value stored to 'settingsHolder' during its initialization is never read
[task 2024-03-20T19:33:02.734Z]   SettingsHolder* settingsHolder = SettingsHolder::instance();
[task 2024-03-20T19:33:02.734Z]                   ^~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2024-03-20T19:33:02.734Z] 7683 warnings generated.
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] Suppressed 7680 warnings (7680 in non-user code).
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] D:/task_171096265178028/fetches/Library/bin/clang-tidy.exe -export-fixes C:\Users\task_171096265178028\AppData\Local\Temp\tmpu2k4db5o\tmpq2fqfqf6.yaml -p=D:/task_171096265178028/cmake_build D:\task_171096265178028\build\src\src\localizer.cpp
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\localizer.cpp:363:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
[task 2024-03-20T19:33:02.734Z]   QTranslator* translator = new QTranslator(this);
[task 2024-03-20T19:33:02.734Z]   ^~~~~~~~~~~
[task 2024-03-20T19:33:02.734Z]   auto
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\localizer.cpp:501:12: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
[task 2024-03-20T19:33:02.734Z]     return QVariant();
[task 2024-03-20T19:33:02.734Z]            ^~~~~~~~~~
[task 2024-03-20T19:33:02.734Z]            {}
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\localizer.cpp:508:14: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
[task 2024-03-20T19:33:02.734Z]       return QVariant(localizedLanguageName(language));
[task 2024-03-20T19:33:02.734Z]              ^
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\localizer.cpp:511:14: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
[task 2024-03-20T19:33:02.734Z]       return QVariant(language.m_nativeLanguageName);
[task 2024-03-20T19:33:02.734Z]              ^
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\localizer.cpp:514:14: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
[task 2024-03-20T19:33:02.734Z]       return QVariant(language.m_code);
[task 2024-03-20T19:33:02.734Z]              ^
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\localizer.cpp:517:14: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
[task 2024-03-20T19:33:02.734Z]       return QVariant(language.m_rtl);
[task 2024-03-20T19:33:02.734Z]              ^~~~~~~~~              ~
[task 2024-03-20T19:33:02.734Z]              {                      }
[task 2024-03-20T19:33:02.734Z] D:\task_171096265178028\build\src\src\localizer.cpp:520:14: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
[task 2024-03-20T19:33:02.734Z]       return QVariant();
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z]              ^~~~~~~~~~
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z]              {}
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] 7434 warnings generated.
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] Suppressed 7427 warnings (7427 in non-user code).
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.734Z] Writing fixes to D:/task_171096265178028/cmake_build/clang-tidy/shared-sources-report.yaml ...
[task 2024-03-20T19:33:02.734Z] 
[task 2024-03-20T19:33:02.743Z] 
[task 2024-03-20T19:33:02.743Z] 
[task 2024-03-20T19:33:02.743Z]     Directory: D:\task_171096265178028
[task 2024-03-20T19:33:02.743Z] 
[task 2024-03-20T19:33:02.743Z] 
[task 2024-03-20T19:33:02.744Z] Mode                 LastWriteTime         Length Name                                                                                      
[task 2024-03-20T19:33:02.744Z] ----                 -------------         ------ ----                                                                                      
[task 2024-03-20T19:33:02.745Z] d-----         3/20/2024   7:33 PM                artifacts                                                                                 
[task 2024-03-20T19:33:02.751Z] 
[task 2024-03-20T19:33:02.751Z] 
[fetches 2024-03-20T19:33:02.776Z] removing D:\task_171096265178028\fetches
[fetches 2024-03-20T19:33:17.340Z] finished
[taskcluster 2024-03-20T19:33:17.361Z]    Exit Code: 0
[taskcluster 2024-03-20T19:33:17.361Z]    User Time: 0s
[taskcluster 2024-03-20T19:33:17.361Z]  Kernel Time: 15.625ms
[taskcluster 2024-03-20T19:33:17.361Z]    Wall Time: 7m54.7603128s
[taskcluster 2024-03-20T19:33:17.361Z]       Result: SUCCEEDED
[taskcluster 2024-03-20T19:33:17.361Z] === Task Finished ===
[taskcluster 2024-03-20T19:33:17.361Z] Task Duration: 7m54.760856s
[taskcluster 2024-03-20T19:33:17.590Z] Uploading artifact public/build/mozillavpn-sources-report.yaml from file D:\task_171096265178028\artifacts\mozillavpn-sources-report.yaml with content encoding "gzip", mime type "application/octet-stream" and expiry 2024-04-17T19:15:13.593Z
[taskcluster 2024-03-20T19:33:17.857Z] Uploading artifact public/build/shared-sources-report.yaml from file D:\task_171096265178028\artifacts\shared-sources-report.yaml with content encoding "gzip", mime type "application/octet-stream" and expiry 2024-04-17T19:15:13.593Z
[taskcluster 2024-03-20T19:33:18.097Z] Uploading artifact public/logs/certified.log from file D:\task_171096265178028\generic-worker\certified.log with content encoding "gzip", mime type "text/plain; charset=utf-8" and expiry 2024-04-17T19:15:13.593Z
[taskcluster 2024-03-20T19:33:18.347Z] Uploading artifact public/chain-of-trust.json from file D:\task_171096265178028\generic-worker\chain-of-trust.json with content encoding "gzip", mime type "text/plain; charset=utf-8" and expiry 2024-04-17T19:15:13.593Z
[taskcluster 2024-03-20T19:33:18.574Z] Uploading artifact public/chain-of-trust.json.sig from file D:\task_171096265178028\generic-worker\chain-of-trust.json.sig with content encoding "gzip", mime type "application/octet-stream" and expiry 2024-04-17T19:15:13.593Z
[taskcluster 2024-03-20T19:33:18.752Z] [mounts] Preserving cache: Moving "D:\\task_171096265178028\\build" to "D:\\caches\\PyzHUu_jTjKhN4Ehxc_e-Q"
[taskcluster 2024-03-20T19:33:18.763Z] [mounts] Denying task_171096265178028 access to 'D:\caches\PyzHUu_jTjKhN4Ehxc_e-Q'
[taskcluster 2024-03-20T19:33:19.394Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2024-04-17T19:15:13.593Z