a comparison of common C++ style guides
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore initial commit Feb 11, 2016
README.md fixed typo Feb 11, 2016
chromium.cpp initial commit Feb 11, 2016
google.cpp initial commit Feb 11, 2016
llvm.cpp initial commit Feb 11, 2016
mozilla.cpp removed superflous comment Feb 19, 2016
webkit.cpp initial commit Feb 11, 2016

README.md

C++ Style Guide Lineup

This is a comparison of the following coding styles:

Why those five? 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).