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.
Summary: | Incorrect find usages results | ||
---|---|---|---|
Product: | cnd | Reporter: | Egor Ushakov <gorrus> |
Component: | Code Model | Assignee: | nnnnnk <nnnnnk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Egor Ushakov
2012-10-17 16:11:09 UTC
if unable to reproduce, use class A from nsTestCrasher.cpp class A { }; #define ALEN(A) (sizeof(A)/sizeof(A[0])) A class should not be found in #define because in #define it is macro param name, not reference to A class incremet_and_xor(unsigned char *A, unsigned char *T) problem is due to FU working in dead code. It can be solved using FU filters presentation (will be handled as issue #218201) expected solution is to have simple state machine understanding completion/hyperlink in preprocessor directives instead of direct use of c++ completion which consider directives as part of global context fixed: http://hg.netbeans.org/cnd-main/rev/bf486f5b5014 http://hg.netbeans.org/cnd-main/rev/af8f42f6ba86 Integrated into 'main-golden', will be available in build *201210250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/bf486f5b5014 User: Nikolay Krasilnikov <nnnnnk@netbeans.org> Log: fixed #220310 - Incorrect find usages results |