Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Problem with New CModelBuilder2

1) I see that enum is not handled in the switch. Is this the problem?
2) The [] is marked as syntax error by the parser. In the case of syntax errors, the model builder is lost.
Please create bugs for both issues.

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Janees Elamkulam
Sent: Tuesday, March 27, 2007 11:21 AM
To: CDT General developers list.
Subject: [cdt-dev] Problem with New CModelBuilder2

I have couple for problem with new CModelBuilder2

1) ICElement kind for class forward declaration is incorrectly set as ICElement.C_CLASS  instead of ICElement.C_CLASS_DECLARATION
The problem is in function org.eclipse.cdt.internal.core.model.CModelBuilder2.createElaboratedTypeDeclaration(Parent, IASTElaboratedTypeSpecifier, boolean)

2) New Model Builder does not seem correctly build model for the following source code.
Case 1:
 namespace Test31 {
   extern void (* test31)(TestClass[]);

Case 2 ::

class Test39{
        void (* test39)(TestClass[]);

- Janees

Back to the top