Page MenuHome

Clang-format migration: Wiki documentation on how to run clang-format and when to do so
Closed, ResolvedPublicTO DO

Description

Write a new wiki page on how to invoke clang-format for Blender.

  • Explain how to use native clang-format, including where to download and install it.
  • Explain upcoming make format command which does a bit more (including checking clang-format version).
  • Link to this page from the to-be-updated C++ style guide.

Event Timeline

Keir Mierle (keir) lowered the priority of this task from 90 to Normal.Jan 7 2019, 5:27 PM
Keir Mierle (keir) created this task.

Added clang-format (often whole clang package) to install_deps script too, for linux.

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved.EditedApr 18 2019, 1:24 PM

This page is fairly complete, closing:
https://wiki.blender.org/wiki/Tools/ClangFormat