Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2016-05-12 10:02:33
Size: 106
Editor: SamatJain
Comment:
Revision 6 as of 2016-05-19 03:29:28
Size: 736
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

Use:

{{{
clang-tidy -checks='*' main.cpp -- -std=c++11
}}}

[[http://clang.llvm.org/docs/ClangFormat.html|ClangFormat]]: auto-formats C++ code

 * [[https://github.com/andrewseidl/githook-clang-format|Git hook running clang-format]]. Don't use this!

== C++ style guides ==

 * [[https://google.github.io/styleguide/cppguide.html|Google]]
 * [[http://llvm.org/docs/CodingStandards.html|LLVM]]
 * [[http://www.chromium.org/developers/coding-style|Chrome/Chromium]]
 * [[https://developer.mozilla.org/en-US/docs/Developer_Guide/Coding_Style|Mozilla]]
 * [[http://www.webkit.org/coding/coding-style.html|WebKit]]

Clang-Tidy — Extra Clang Tools 3.9 documentation

Use:

clang-tidy -checks='*' main.cpp -- -std=c++11

ClangFormat: auto-formats C++ code

C++ style guides

SamatsWiki: CodingStyle/C++ (last edited 2020-09-02 20:49:51 by SamatJain)