3 ms·
clang-tidy does this (or is working towards doing this) http://clang.llvm.org/extra/clang-tidy/checks/list.html http://clang.llvm.org/extra/clang-tidy/checks/l
by adrianN 10y ago
clang-tidy does this (or is working towards doing this)
http://clang.llvm.org/extra/clang-tidy/checks/list.html http://clang.llvm.org/extra/clang-tidy/checks/list.html
- codebeaker 10y agoThanks, that page looks like hell, but I recognise a few terms. http://clang.llvm.org/extra/clang-tidy/ http://clang.llvm.org/extra/clang-tidy/ is much more approachable, and gives a solid overview. The introductory sentence gave me project-naming cancer: > clang-tidy is a clang-based C++ “linter” tool. Then why is it called tidy ??? It appears first on page three of google's search results for "C++ linter" in spite of the fact that anything from LLVM is probably a) current and b) of exceptional quality. A little marketing-mindset would go a long, long way for these kinds of things. Whilst the Ruby community lead by the example of DHH often takes this concept too far, it is inarguably effective.
- masklinn 10y ago> Then why is it called tidy ??? https://en.wikipedia.org/wiki/HTML_Tidy https://en.wikipedia.org/wiki/HTML_Tidy
- andystanton 10y agoIt's also a (possibly unintentional) play on the British slang term "bang tidy" http://www.collinsdictionary.com/dictionary/english/bang-tidy http://www.collinsdictionary.com/dictionary/english/bang-tid...