Bash./clang-format -style=file ~/myFile.cc
Bash./clang-format -style=llvm -dump-config > ~/.clang-format./clang-format -style=file ~/myFile.cc
-style=<string> - Coding style, currently supports: LLVM, Google, Chromium, Mozilla, WebKit. Use -style=file to load style configuration from .clang-format file located in one of the parent directories of the source file (or current directory for stdin). Use -style="{key: value, ...}" to set specific parameters, e.g.: -style="{BasedOnStyle: llvm, IndentWidth: 8}"