Skip to content

Check Fix Code Style Issues

Kelly (KT) Thompson edited this page Jan 23, 2019 · 1 revision

Individual Files

  • Draco uses clang-format to enforce some code formatting features.
  • Check the conformance of your code with clang-format <file>
  • Automatically update your code to conform with clang-format -i <file>

Git hooks

  • Install git pre-commit hook to automatically check for code style violations: draco/environment/git/install-hooks.sh
Clone this wiki locally