Check Fix Code Style Issues - lanl/Draco GitHub Wiki

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
⚠️ **GitHub.com Fallback** ⚠️