Skip to main content

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


Hi,
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{
public:
        void (* test39)(TestClass[]);
};


- Janees


Back to the top