On 11/04/2014 03:37 PM, Gregor Jasny wrote:
> could you please point me to some documentation regarding C++ coding
> style? Or do you have a checkpatch script?

It's never been formalized to that level.  Basically:

- Don't exceed 79 columns.
- Align {} with the code inside them.
- CamelCase class member names.
- Explicit "this" for member access: this->Member

Otherwise, try to match the style near the code you're changing.

Someday this should be added to the cmake-developer(7) manual:

 http://www.cmake.org/cmake/help/v3.1/manual/cmake-developer.7.html

Right now it only has a style guide for the documentation formatting.

-Brad

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to