Summary: | qt6-deprecated-api-fixes & qt6-qlatin1stringchar-to-u fail | ||
---|---|---|---|
Product: | [Developer tools] clazy | Reporter: | Pino Toscano <pino> |
Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | smartins |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/sdk/clazy/commit/c1dc65494574227646e1dd36675a5bd906660647 | Version Fixed In: | |
Sentry Crash Report: |
Description
Pino Toscano
2020-11-23 14:11:50 UTC
Sorry, I typo'ed the Qt version, which is 5.15.1 (as also visible in the snippets). I just tried with LLVM 11, and these two tests pass. Git commit 04d38721ba951a9cafd276d584880d3f72c7794a by Sergio Martins. Committed on 23/11/2020 at 16:05. Pushed by smartins into branch '1.8'. qt6-deprecated-api-fixes: Remove unrelated warnings from the test There was a stray/unrelated compiler warning in the expected dataset. Can make the test fail if some other compiler is used and gives a different message M +1 -1 tests/qt6-deprecated-api-fixes/main.cpp M +0 -1 tests/qt6-deprecated-api-fixes/main.cpp.expected M +1 -1 tests/qt6-deprecated-api-fixes/main.cpp.fixed.expected https://invent.kde.org/sdk/clazy/commit/04d38721ba951a9cafd276d584880d3f72c7794a Git commit c1dc65494574227646e1dd36675a5bd906660647 by Sergio Martins. Committed on 23/11/2020 at 16:31. Pushed by smartins into branch '1.8'. qt6-qlatin1stringchar-to-u: Only run tests with clang 11 It's flaky with other versions. Not disabling the check since it still works, just warns twice for the same line. CCMAIL: lucie.gerard@qt.io M +2 -1 tests/qt6-qlatin1stringchar-to-u/config.json https://invent.kde.org/sdk/clazy/commit/c1dc65494574227646e1dd36675a5bd906660647 Thanks for the quick fixes! I can indeed confirm they work on both LLVM 9 and 11. PS: the clazy 1.8 tar.gz does not have the content inside a top-level directory like clazy-1.8, unlike previous versions (and generally released Linux software). |