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

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 11 14:53:33 PST 2018


aaron.ballman added a comment.

Generally LGTM, but I leave it to someone more well-versed in ObjC to sign off that this actually does everything those users would expect.



================
Comment at: docs/clang-tidy/checks/google-objc-function-naming.rst:12
+
+All function names should be in upper camel case. Functions whose storage class
+is not static should have an appropriate prefix.
----------------
"Upper camel case" is more commonly known as Pascal case, btw (http://wiki.c2.com/?PascalCase).


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D51575





More information about the cfe-commits mailing list