Bug 72535 - [Parser] Parser (and indexer) hangs on mutual inclusion
Summary: [Parser] Parser (and indexer) hangs on mutual inclusion
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: John Camelon CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 72611
Blocks:
  Show dependency tree
 
Reported: 2004-08-24 15:11 EDT by Keith W. Campbell CLA
Modified: 2004-08-25 11:58 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith W. Campbell CLA 2004-08-24 15:11:23 EDT
Given the two header files below the parser gets stuck in
infinite translation units that include either one.
This is with CDT I200408201009.

A.h
  #include "B.h"
  class A {
    // ...
  };
B.h
  #include "A.h"
  class B {
    // ...
  };
Comment 1 John Camelon CLA 2004-08-24 15:12:52 EDT
I'm on it!
Comment 2 John Camelon CLA 2004-08-24 15:52:14 EDT
Fix has been committed to 2_0 branch.  
Comment 3 John Camelon CLA 2004-08-24 16:00:42 EDT
Fix applied to HEAD as well.  

Moving to FUTURE & lowering severity rather than resolving it ... our timeout 
mechanism needs to be able to handle things happening in the scanner as well 
as the parser.  
Comment 4 John Camelon CLA 2004-08-25 11:54:31 EDT
Marking this as fixed. 
Defect 72611 has been raised to track the larger architectural issue.
Comment 5 John Camelon CLA 2004-08-25 11:58:50 EDT
resolved