clang-format

Transform all incoming C and C++ code with clang-format project.

Documentation for clang-format configurations can be found at clang-format docs.

Configuration - .deepsource.toml

This section covers configuration specific to the clang-format transformer. Please make sure to read the general configuration guide first.

name

  • Type: String
  • Presence: mandatory
  • Description: Shortcode of this transformer.
  • Example:
name = "clang-format"