Eugene.Zelenko added a comment.

Please mention this check in docs/ReleaseNotes.rst (in alphabetical order).



================
Comment at: docs/clang-tidy/checks/readability-strlen-argument.rst:6
+
+This checker will detect addition in strlen() argument. Example code:
+
----------------
JonasToth wrote:
> Could you please add a little more motivational text to it?
> As I understand it, the wanted goal is to get the length of a substring, 
> denoted as `char*`. Am I right?
> You could give a more fully code example showing the equivalence.
> 
> `const char* = "Some super nice string"; ....`
Please use check, not checker. Please enclose strlen() into ``.


Repository:
  rL LLVM

https://reviews.llvm.org/D32346



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

Reply via email to