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 268628 - Wrong resolving of overloaded functions
Summary: Wrong resolving of overloaded functions
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: Dev
Hardware: PC Solaris
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-21 12:34 UTC by Alexander Simon
Modified: 2017-03-30 18:51 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 Alexander Simon 2016-10-21 12:34:38 UTC
Example:
newfile.h:

int foo(int,int);

main.cpp:

#include "newfile.h"
static int foo(int);
static int foo(int i) {
    foo(i,5);
}
int foo(int i, int j) {}
int main(int argc, char** argv) {
    foo(1);
    return 0;
}

Find usages of definition int foo(int i, int j)  "returns foo(1)"