[PATCH] D13079: [clang-tidy] Code factorization and cleanup in IdentifierNamingCheck

Beren Minor via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 23 00:49:04 PDT 2015

berenm added inline comments.

Comment at: clang-tidy/readability/IdentifierNamingCheck.cpp:508
@@ +507,3 @@
+  auto &Failure = Failures[Decl];
+  for (const auto &R : Failure.Usages) {
+    if (R == Range)
Hopefully the number of ranges in Usages will stay low. If not, `Usages` should be an hash table instead, but it looks like SourceRange isn't hashable as is.


More information about the cfe-commits mailing list