Summary: | Utils::isInitializedExternally: getSingleDecl fails to account for multiple declarations | ||
---|---|---|---|
Product: | [Developer tools] clazy | Reporter: | Jan Kundrát <jkt> |
Component: | general | Assignee: | Sergio Martins <smartins> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | smartins |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/clazy/31b2e1b2ff8b67c95fb476390d1f6211e98daff6 | Version Fixed In: | |
Sentry Crash Report: |
Description
Jan Kundrát
2016-01-29 15:53:39 UTC
Git commit 66b4e64dff863ce67195e82f081b3a6afd786e27 by Sergio Martins. Committed on 30/01/2016 at 15:32. Pushed by smartins into branch 'master'. inefficient-qlist: Add test-case for a bug report M +5 -1 tests/inefficient-qlist/main.cpp http://commits.kde.org/clazy/66b4e64dff863ce67195e82f081b3a6afd786e27 Git commit f6008a4bf95a4799673327f4333dd3069935b7a0 by Sergio Martins. Committed on 30/01/2016 at 15:35. Pushed by smartins into branch 'master'. inefficient-qlist-soft: Also add test-case here M +6 -0 tests/inefficient-qlist-soft/main.cpp http://commits.kde.org/clazy/f6008a4bf95a4799673327f4333dd3069935b7a0 Git commit 31b2e1b2ff8b67c95fb476390d1f6211e98daff6 by Sergio Martins. Committed on 30/01/2016 at 15:56. Pushed by smartins into branch 'master'. inefficient-qlist-soft: Fix crash with older clang Calling DeclStmt::getSingleDecl() will crash if the DeclStmt doesn't have a single decl. M +14 -1 Utils.cpp M +5 -0 Utils.h http://commits.kde.org/clazy/31b2e1b2ff8b67c95fb476390d1f6211e98daff6 |