| Summary: | Function reference not found that uses "arithmetic if" logic for a parameter | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | electoys |
| Component: | cdt-indexer | Assignee: | Project Inbox <cdt-indexer-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Markus Schorn <mschorn.eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug |
| Version: | 7.0.1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Whiteboard: | |||
Looks like you are using CDT 7.0.1, correct? Basically a duplicate of bug 324853. There may also be an additional problem. To check I'd need a valid sample code (It matters how the types involved are defined and how the variables used in the expression are declared). *** This bug has been marked as a duplicate of bug 324853 *** |
Build Identifier: 20100318-1801 Eclipse CDT build id 201003151310. code example: if (ecAPI.EcGet(anObjectId, aCardType == NULL ? returnedCardType : *aCardType, payload) != EC_RC_SUCCESS) In my case the EcGet method is overloaded. There is only one declaration that takes a cardType parameter as the second argument. There are two ways to experience this problem. The more critical one is that this use is not shown when displaying references of the particular overloaded EcGet() function. The second is when asking to open the declaration of the EcGet function from the above line of code. Instead of jumping directly to the declaration, it provides a list of all the overloaded versions of the function. Here are some more of the overloaded declarations. EcReturnedCodes EcGet( ObjectIdClass objectId, CardTypes& programmedCardType, Ec::Payload& payload); EcReturnedCodes EcGet( ObjectIdClass objectId, Ec::Payload& payload); EcReturnedCodes EcGet( ObjectIdClass objectId, Ec::id_type id, U32& data); EcReturnedCodes EcGet( ObjectIdClass objectId, Ec::id_type id, std::string& data); template <typename EcDataType> EcReturnedCodes EcGet( ObjectIdClass objectId, Ec::IdInfo const* pId, EcDataType& data); template <> EcReturnedCodes EcExtInterface::EcGet<std::string>(ObjectIdClass objectId, Ec::IdInfo const* pId, std::string& data); template <> EcReturnedCodes EcExtInterface::EcGet<U32>(ObjectIdClass objectId, Ec::IdInfo const* pId, U32& data); Reproducible: Always