-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

clang-format


> Tool to auto-format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code.

More information.


Format a file and print the result to stdout:

clang-format {path/to/file}

Format a file in-place:

clang-format -i {path/to/file}

Format a file using a predefined coding style:

clang-format --style={LLVM|Google|Chromium|Mozilla|WebKit} {path/to/file}

Format a file using the `.clang-format` file in one of the parent directories of the source file:

clang-format --style=file {path/to/file}

Generate a custom `.clang-format` file:

clang-format --style={LLVM|Google|Chromium|Mozilla|WebKit} --dump-config > {.clang-format}


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Tue May 21 01:32:45 2024