/cppstylelineup

a comparison of common C++ style guides

Primary LanguageC++

C++ Style Guide Lineup

This is a comparison of the following coding styles:

Why those seven? Because clang-format supports them as base styles.

This comparison only looks at formatting issues.

Compile and format

g++ llvm.cpp -o llvm
clang-format -i --style=LLVM llvm.cpp # style keys: LLVM, Google, Chromium, Mozilla, WebKit

Contribute

Please write me if you find a mistake (contact via my profile).