Summary: | show uses of a constructor does not show variable instantiations | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Jaime Torres <jtamate> |
Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | aleixpol, kfunk |
Priority: | NOR | ||
Version: | 4.3.60 | ||
Target Milestone: | 4.6.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdevelop/d3ee9744d4317efa72aaf33a8dad10ed888f8fb2 | Version Fixed In: | |
Sentry Crash Report: |
Description
Jaime Torres
2012-05-20 10:10:26 UTC
Indeed. Interesting: class Foo { Foo() {} }; int main() { Foo foo1; <--- is not a use of Foo() Foo foo1(); <--- *is* a use of Foo() } Git commit d3ee9744d4317efa72aaf33a8dad10ed888f8fb2 by Kevin Funk. Committed on 10/12/2013 at 21:28. Pushed by kfunk into branch 'master'. Show uses for default-initialization Before this patch, declarations such as '{ A a; }' didn't increase the use-count of 'A::A()' REVIEW: 114397 M +14 -7 languages/cpp/cppduchain/expressionvisitor.cpp M +20 -5 languages/cpp/cppduchain/tests/test_duchain.cpp http://commits.kde.org/kdevelop/d3ee9744d4317efa72aaf33a8dad10ed888f8fb2 |