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

Stephane Moore via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 16 15:42:34 PST 2018


stephanemoore added inline comments.


================
Comment at: clang-tidy/google/FunctionNamingCheck.cpp:63
+  bool AtWordBoundary = true;
+  while (Index >= NewName.size()) {
+    char ch = NewName[Index];
----------------
I forgot to invert this condition when I refactored the early return into the loop condition 😓


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D51575





More information about the cfe-commits mailing list