4 ms·
I wonder how many of these could be implemented in clang tidy: http://clang.llvm.org/extra/clang-tidy/index.html http://clang.llvm.org/extra/clang-tidy/index.h
by acconsta 11y ago
I wonder how many of these could be implemented in clang tidy:
http://clang.llvm.org/extra/clang-tidy/index.html http://clang.llvm.org/extra/clang-tidy/index.html
- something123 11y agoFrom the introduction: "The rules are designed to be supported by an analysis tool. Violations of rules will be flagged with references (or links) to the relevant rule. We do not expect you to memorize all the rules before trying to write code. The rules are meant for gradual introduction into a code base. We plan to build tools for that and hope others will too." So it sounds like they will be introducing some tooling in the near future. It'd be nice if they leveraged existing tools (like clang-tidy)
- wnissen 11y agoOne exception "NL.1: Don't say in comments what can be clearly stated in code Enforcement: Build an AI program that interprets colloqual English text and see if what is said could be better expressed in C++." Pretty funny stuff for a style guide.