Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] RE: RE: Re: Coding standards enforcer in CDT... (Do ug Schaefer)

Excellent! Yes, the DOM is in that package. I look forward to seeing what
you can put together.

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, Tools PMC member
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Monali A. Bhalerao
Sent: Friday, May 12, 2006 2:31 AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] RE: RE: Re: Coding standards enforcer in CDT... (Doug

Hi Doug!

We did download the TPTP tutorials from the links provided by you.
We are using the C-related classes from the package
"org.eclipse.cdt.core.dom.ast" for adding rules for C/C++. When we
finish adding considerable rules we shall submit them and then also take
up writing the tutorial [getting started].

I would like you to confirm if we are on the right track.

Best Regards,


Message: 1
Date: Sun, 26 Mar 2006 23:18:22 -0500
From: Doug Schaefer <DSchaefer@xxxxxxx>
Subject: RE: [cdt-dev] Re: Coding standards enforcer in CDT...
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Content-Type: text/plain

This is certainly one area I want to look at as well, being the CDT
guy. I've run in to Steve G from IBM a number of times and is
the CDT community to get involved. And I'll accept good patches that
these rules easier to write with the CDT DOM.

It would be good to have a tutorial to help get people started, though.

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead,

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> Behalf Of Randy D.Smith
> Sent: Friday, March 24, 2006 6:59 PM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] Re: Coding standards enforcer in CDT...
> Monali A. Bhalerao <MonaliB@...> writes:
> > Hi Srikanth!
> >
> > 1. Enforce customized coding standards
> >    We have plans to integrate the "LINT" tool with a feature to add
> > customized rules but nothing planned on code beautification.
> > ...
> >
> > Best Regards,
> > Monali
> >
> I know some of you guys that have run into me at EclipseCon (and CDT
> afterwards) are tired of me beating the same drum, but...
> 1. is a great place to utilize TPTP's Static Analysis tool instead. It
> currently
> has two rules, so there's plenty of opportunity to write rules for it
> will
> tag (and potentially allow quick-fix) for your very own set of
> coding
> standards. It's a solution in the Eclipse chain just waiting to be
used in
> situations like this.
> Check out the tutorials at <
> ysis/TPTP_static_analysis_tutorial_part1.html
> > and <
> ysis/TPTP_static_analysis_tutorial_part2.html
> >, and give it a try. The Java rules (70 of them) exist in the
> release
> (the tutorial will tell you how to set the Preferences to turn the
> Analysis
> toolbar item on), but you'll have to download the "C++ rules
> Preview"
> from the TPTP download site and install that plugin to get the current
> (count them, *2*) rules for C++.
> I'm sure Steve Gutz (the IBM guy who did this TPTP feature) would love
> see
> more internal adoption of this, and additional rules written for C++.
> (I've
> spent a bit of time at the CDT F2F trying to get the Photran guys to
> at
> this as well, and I think they're intent on getting Fortran support
> sooner!
> Nothing like a little competition to really get things going! :-) )
> --
>      RDS
> Randy D. Smith            randy (dot) d (dot) smith (at) intel (dot)
> Eclipse TPTP Committer, Platform Proj (data collection/agent
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
cdt-dev mailing list

Back to the top