Ian Collins wrote: >Suraj Verma wrote: > > > >>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 .. >> >> >> >Is it worth reviewing the rules to make sure idiomatic C++ doesn't cause >errors? > > > Following up, after reading though cstyle.ms.pdf again, there are a lot of changes required to make the rules applicable to C++ code. I'm no sure how these reflect in cstyle, where is that documented?
Ian _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org