[PATCH] D51575: [clang-tidy/checks] Implement a clang-tidy check to verify Google Objective-C function naming conventions 📜

Ben Hamilton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 7 12:20:23 PST 2018


benhamilton added inline comments.


================
Comment at: docs/clang-tidy/checks/google-objc-function-naming.rst:20
+  static bool is_positive(int i) { return i > 0; }
+  bool IsNegative(int i) { return i < 0; }
+
----------------
This is not actually handled by the check, right? (You even have a test which confirms this.)

As far as I can tell, this check essentially looks for at least one capital letter and no `_` in function names, right?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D51575





More information about the cfe-commits mailing list