[clazy] [Bug 430959] Building with clazy is at least 2x slower than without clazy

Sergio Martins bugzilla_noreply at kde.org
Sun Jan 10 00:17:43 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=430959

--- Comment #6 from Sergio Martins <smartins at kde.org> ---
Git commit 0215389de14f5bc6daa5d6e6e5d3943c0aba9584 by Sergio Martins.
Committed on 10/01/2021 at 00:14.
Pushed by smartins into branch '1.8'.

Revert "Add fixit for copyable-polymorphic"

This reverts commit d6b07989e7a9211b21ecb9b9f8bd4d237bcc453e.
It's causing a 4x slowdown.

The culprit is running AccessSpecifierManager::VisitDeclaration
for all classes, instead of QObject only

Will reapply in master with a possible workaround

M  +2    -17   src/AccessSpecifierManager.cpp
M  +0    -3    src/AccessSpecifierManager.h
M  +1    -54   src/checks/level2/copyable-polymorphic.cpp
M  +0    -1    src/checks/level2/copyable-polymorphic.h
M  +0    -5    tests/copyable-polymorphic/config.json
M  +0    -9    tests/copyable-polymorphic/main.cpp
M  +0    -1    tests/copyable-polymorphic/main.cpp.expected
D  +0    -72   tests/copyable-polymorphic/main.cpp.fixed.expected

https://invent.kde.org/sdk/clazy/commit/0215389de14f5bc6daa5d6e6e5d3943c0aba9584

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list