LLVM coding standards and additions¶
The coding standards are documented in LLVM Coding Standards. With regards to that document, rDock has made the following changes in the coding standards:
Standard C++11 is used instead of C++14. In the near future the switch will be made to C++17.
Implementation file extension should be
Variable names should use
CamelCaseand member variables should be prefixed with
m_(similar to the proposed Variable Names Plan in LLVM).
Helpful online sources of knowledge about C++:
Particularly useful books about software design, algorithms, and programming:
The future development will switch from the use of C++11 to the use of C++17. A very good book covering the new features in C++17 is C++17 in Detail by Bartlomiej Filipek, published by Leanpub in 2017. The blog post C++17 Features is a shorter version.