[PATCH] D31860: Add more examples to clang tidy checkers

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 10 12:58:30 PDT 2017

alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.


LG with a couple of nits.

Comment at: docs/clang-tidy/checks/misc-inefficient-algorithm.rst:25
+  std::set<int> s;
+  auto c = count(s.begin(), s.end(), 43);

Comment at: docs/clang-tidy/checks/misc-unused-parameters.rst:25
+  static void staticFunctionA()
The example seems incomplete?


More information about the cfe-commits mailing list