X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=DEVELOPMENT.markdown;h=5af6ed697e3962328fa280d68572fdb392141475;hb=7a9fb5103e052150232b64cb5d99374cda3f1234;hp=5d2c052bff63fb6d5aca2ed9cda175ebf49091eb;hpb=48412ffde3dd4710c96d5e8d9cfdf1789e4d703a;p=apitrace diff --git a/DEVELOPMENT.markdown b/DEVELOPMENT.markdown index 5d2c052..5af6ed6 100644 --- a/DEVELOPMENT.markdown +++ b/DEVELOPMENT.markdown @@ -1,8 +1,8 @@ Coding Style ============ -XXX: These are mostly guidelines for new code, as some of existing hasn't been -updated to these conventions yet. +These are guidelines for new code. Some of existing hasn't been updated to +these conventions yet. Whitespace (all languages): @@ -24,6 +24,9 @@ Naming convention: * `UPPER_CASE` for #defines + * single underscore prefix for variables/functions in automatically generated + code + C++: * enclose single statement `if` clauses in { }, specially for automatically @@ -35,7 +38,7 @@ C++: CMake: - * `lower_case` + * `lower_case` commands * space between ( and precedent name