This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 228290 - 'find usage' cannot find most ctor/dtor
Summary: 'find usage' cannot find most ctor/dtor
Status: RESOLVED DUPLICATE of bug 223032
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-05 15:26 UTC by tbrunhoff
Modified: 2013-08-02 15:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2013-04-05 15:26:27 UTC
For the following code:
-------------------------
class Foo {
public:
    Foo() { printf("ctor\n"); }
    ~Foo() { printf("dtor\n"); }
};

/*
 * 
 */
int main(int argc, char** argv)
{
    Foo foo1();
    Foo* foo2 = new Foo();
    foo2->~Foo();
    delete foo2;
    return 0;
}
-------------------------
if you ask it to 'find usages" for the constructor, it cannot find 'Foo foo1();' although it can find the constructor in 'Foo* foo2 = new Foo();'

if you ask it to 'find usages" for the destructor, it cannot find either instance.
Comment 1 tbrunhoff 2013-04-05 17:37:04 UTC
Product Version: NetBeans IDE Dev (Build 201303192300)
Updates: Updates available
Java: 1.6.0_43; Java HotSpot(TM) Client VM 20.14-b01
Runtime: Java(TM) SE Runtime Environment 1.6.0_43-b01
System: Linux version 3.6.11-4.fc16.x86_64 running on i386; UTF-8; en_US (nb)
User directory: /home/toddb/.netbeans/dev
Cache directory: /home/toddb/.cache/netbeans/dev
Comment 2 Egor Ushakov 2013-08-02 15:09:18 UTC

*** This bug has been marked as a duplicate of bug 223032 ***