Changes between Version 8 and Version 9 of RFC4
- Timestamp:
- Mar 23, 2017, 11:04:05 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RFC4
v8 v9 36 36 The style settings are defined in `.clang-format` configuration file for our [https://clang.llvm.org/docs/ClangFormatStyleOptions.html style settings]. 37 37 38 The `clang-format` is straightforward to run and can support development workflow as standalone tool or as one of many editor integrations .38 The `clang-format` is straightforward to run and can support development workflow as standalone tool or as one of many editor integrations or other bespoke utilities (eg. `git cl format` [Chromium]). 39 39 40 40 Although no means to enforce the default formatting style are proposed, currently used CI services (eg. Travis CI) may be employed as a post-commit safety valve - a clang-format lint failure as a compile break (eg. [https://github.com/mongodb/mongo/blob/master/buildscripts/clang_format.py clang_format.py] build script used by MongoDB). … … 131 131 132 132 * [MongoDB] Succeeding With !ClangFormat: [https://engineering.mongodb.com/post/succeeding-with-clangformat-part-1-pitfalls-and-planning/ Part 1], [https://engineering.mongodb.com/post/succeeding-with-clangformat-part-2-the-big-reformat/ Part 2], [https://engineering.mongodb.com/post/succeeding-with-clangformat-part-3-persisting-the-change/ Part 3] 133 * [Chromium] [https://chromium.googlesource.com/chromium/src/+/master/docs/clang_format.md Using clang-format on Chromium C++ Code] 133 134 * https://clangformat.com - `clang-format` interactive guide and builder 134 135 * https://zed0.co.uk/clang-format-configurator/