aaron.ballman accepted this revision.
aaron.ballman added a comment.

LGTM aside from some minor style nits.



================
Comment at: 
clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp:130-132
+    if (ND1->getAccess() != AS_private && isMemberOf(ND1, RD0)) {
+      return true;
+    }
----------------



================
Comment at: 
clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp:135-137
+    if (ND0->getAccess() != AS_private && isMemberOf(ND0, RD1)) {
+      return true;
+    }
----------------



================
Comment at: 
clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp:142-145
+  else if (DC1->Encloses(DC0))
+    return mayShadowImpl(ND1, ND0);
+  else
+    return false;
----------------



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

https://reviews.llvm.org/D128715

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

Reply via email to