https://bugs.kde.org/show_bug.cgi?id=399544
Bug ID: 399544 Summary: clazy-empty-qstringliteral for uic generated files Product: clazy Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: dushis...@mail.ru CC: smart...@kde.org Target Milestone: --- SUMMARY clazy-empty-qstringliteral is great, but it produces too many warnings for uic generated files. STEPS TO REPRODUCE 1. Create ".ui" file 2. Change stylesheet to something, and then clear it. 3. You will get in generated by uic c++ code, something like: ActionConfirmContextMenu->setStyleSheet(QStringLiteral("")); OBSERVED RESULT EXPECTED RESULT It would be great if clazy automatically disable `clazy-empty-qstringliteral` for headers file that starts with "ui_" and ends with ".h" SOFTWARE VERSIONS (available in About System) Qt Version: 5.11.2 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.