clazy build/tests fail with Qt 5.15.8 - succeed with 5.15.7 STEPS TO REPRODUCE 1. Build clazy in Ubuntu or Debian development versions with Qt 5.15.8 running tests; OR run autopkgtests on Debian or Ubuntu CI infra with Qt 5.15.8 OR build clazy on KDE Neon with their Qt 5.15.8 and tests enabled (Ubuntu 22.04 LTS base and toolchain) OBSERVED RESULT Tests fail with: Running: clang -Xclang -load -Xclang ClazyPlugin.so -Xclang -add-plugin -Xclang clazy -Wno-unused-value -Qunused-arguments -std=c++14 -isystem /usr/include/x86_64-linux-gnu/qt5 -fPIC -L /usr/lib/x86_64-linux-gnu -c -Xclang -plugin-arg-clazy -Xclang reserve-candidates reserve-candidates/main2.cpp output_file=reserve-candidates/main2.cpp.out [FAIL] reserve-candidates/main2.cpp (plugin) diff -Naur --strip-trailing-cr reserve-candidates/main2.cpp.expected reserve-candidates/main2.cpp.result --- reserve-candidates/main2.cpp.expected 2022-01-20 23:18:47.000000000 +0000 +++ reserve-candidates/main2.cpp.result 2023-01-18 09:00:21.925760955 +0000 @@ -1 +0,0 @@ -reserve-candidates/main2.cpp:8:9: warning: Reserve candidate [-Wclazy-reserve-candidates] https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/amd64/c/clazy/20230114_025737_a318e@/log.gz https://ci.debian.net/data/autopkgtest/testing/amd64/c/clazy/30487887/log.gz
According to Simon Quigley's investigation, it is caused by https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib?id=826e076ef53a5809.