clazy is a compiler plugin which allows clang to understand Qt semantics. You get more than 50 Qt related compiler warnings, ranging from unneeded memory allocations to misusage of API, including fix-its for automatic refactoring.
Homepage
Download
Recent Releases
1.1308 Jan 2025 15:06
minor bugfix:
New Checks: Used-qunused-variable. Qstring-arg check provides a -it. Unused-non-trivial-variable to not warn when maybe_unused set. Qstring-arg for upcoming Qt 6.9. Fully-qualified-moc-types false positive for const modifiers of generic arguments. - Silence false positive non-pod-global-static warning for QML module initialization. Function-args-by-value false positive that would cause compile error in copy constructors, assignment operators and equal checks. - False positives for `Q_EMIT(someSignal())` are now.