Bug 59493

Summary: need to refine index query for open-type
Product: [Tools] CDT Reporter: John Camelon <john.camelon>
Component: cdt-parserAssignee: Bogdan Gheorghe <gheorghe>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cwiebe
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 66108, 70055    

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