Bug 59493 - need to refine index query for open-type
Summary: need to refine index query for open-type
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Bogdan Gheorghe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 66108 70055
  Show dependency tree
 
Reported: 2004-04-21 14:48 EDT by John Camelon CLA
Modified: 2004-08-11 16:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Camelon CLA 2004-04-21 14:48:42 EDT
currently, open-type searches for declarations and this returns friend 
declarations and forward declarations.  i would assume that this is not the 
behaviour that Chris would want (correct me if I'm wrong Chris).  the index 
needs to differentiate between forward declarations and class specifiers, in 
order to reduce the result set appropriately.
Comment 1 Kleo Hapitas CLA 2004-07-07 16:46:59 EDT
PR was targeted at 2.0 but was not resolved at release time. Changing target 
to 2.1
Comment 2 Bogdan Gheorghe CLA 2004-08-11 16:10:02 EDT
Fixed in head + 2.0 stream as of Aug. 11. Forward Declarations and references to
forward declarations are now seperately encoded in the index from the usual
class/struct/union. 

Clients can use the new searchFor constants {FWD_CLASS,FWD_STRUCT, FWD_UNION}
when creating their search patterns.

- BG