Hi,
We want to use onbld cstyle over C++ code. Generelly it works fine except for a few errors which are allowed in C++ syntax.

The most common example are
1) Currently new/delete are not accepted as keywords and generate "space before function paranthesis" error 2) Currently template usage is flagged as "no space around relational operators" error
3) "// CSTYLED" should be accepted besides usual /* CSTYLED ..

Since many people like to develop on C++, and they usually install onbld with opensolaris, it would be very useful to users, if they didn't have to hunt for another tool and could use these tools.

To maintain backward compatibility, we could make these C++ checks allowed only if some option is added.

Please let me know if you think this makes sense, and any other ideas/comments you have.
I am willing to take ownership and make changes if the proposal is accepted.

Thanks
Suraj
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to