
clang-format
List of commands for clang-format:
-
clang-format:tldr:0fbd4 clang-format: Format a file and print the result to `stdout`.$ clang-format ${filename}try on your machineexplain this command
-
clang-format:tldr:c1061 clang-format: Format a file using the `.clang-format` file in one of the parent directories of the source file.$ clang-format --style=file ${filename}try on your machineexplain this command
-
clang-format:tldr:c9e1a clang-format: Format a file in-place.$ clang-format -i ${filename}try on your machineexplain this command
-
clang-format:tldr:d0b04 clang-format: Format a file using a predefined coding style.$ clang-format --style=${select} ${filename}try on your machineexplain this command
-
clang-format:tldr:f5461 clang-format: Generate a custom `.clang-format` file.$ clang-format --style=${select} --dump-config > ${-clang-format}try on your machineexplain this command