| Summary: | Indexer fails to resolve variable name in multiple variables declaration with custom type | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | João Eiras <joao.eiras> |
| Component: | cdt-indexer | Assignee: | Markus Schorn <mschorn.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | Markus Schorn <mschorn.eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug |
| Version: | 8.0 | ||
| Target Milestone: | 8.1.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Thanks for the sample code! Added testcase and fix. *** cdt git genie on behalf of Markus Schorn ***
Bug 360541: Ambiguity resolution for declaration statements.
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=939ab1508d4896bc6792e05efd048681bdfe85d2
|
Build Identifier: 20110615-0604 The following produces an indexer error: a is not defined in the expression "*b = a" void foo(){ typedef int foobar_t; foobar_t *a = 0, *b = a; } Reproducible: Always