njames93 marked an inline comment as done.
njames93 added inline comments.

================
Comment at: 
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp:340
+    return false;
+  if (FDecl->getAccess() == AS_private || FDecl->getAccess() == AS_protected)
+    return false;
----------------
aaron.ballman wrote:
> I'd flip the logic to `!= AS_public` to be more clear that we only care about 
> public members.
What do you think about AS_none, its a weird case and shall i ignore it. I'm 
guessing all functions not in a class are implicitly declared to be public.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73098/new/

https://reviews.llvm.org/D73098



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to