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) Enum has a different path. I have filed bug#179492  [ https://bugs.eclipse.org/bugs/show_bug.cgi?id=179492 ]

2) This was not an issue with old CModelBuilder. i have filed bug#179493   [ https://bugs.eclipse.org/bugs/show_bug.cgi?id=179493 ]

- Janees



cdt-dev-bounces@xxxxxxxxxxx wrote on 27-03-2007 03:55:02 PM:

> Hi,

>  
> 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.
> Thanks,
> Toni
>
> 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

>
> 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
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev

Back to the top