[PATCH] D16152: [clang-tidy] Add check performance-faster-string-find

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 12 07:38:17 PST 2016


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM with one tiny nit.


================
Comment at: clang-tidy/performance/FasterStringFindCheck.cpp:44
@@ +43,3 @@
+  }
+  // Now replace the " with '
+  auto pos = Result.find_first_of('"');
----------------
Minor nit: missing punctuation for the comment. 


http://reviews.llvm.org/D16152





More information about the cfe-commits mailing list