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 247765

Summary: Display 'auto' in Find Usages tab
Product: cnd Reporter: soldatov <soldatov>
Component: Code ModelAssignee: petrk
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2014-10-07 12:18:27 UTC
C++11 code:
struct A {
    int x;
    int y;
    int z;
};

int main(int argc, char** argv) {
    A a;
    auto u = a;
    u.x = 1;
    return 0;
}

Scenario:
- Call context menu on 'A' identifier at 1st line
- Select Find Usages
- Press Find
==> IDE display 'A a;' line. We expects 'auto u = a;' line too.