Eugene.Zelenko added inline comments. ================ Comment at: docs/clang-tidy/checks/misc-suspicious-string-compare.rst:12 @@ +11,3 @@ +Example: + if (strcmp(...)) // Implicitly compare to zero + if (!strcmp(...)) // Won't warn ---------------- I don't know documentation markup well, but looks like you need to add ".. code-block:: c++" before code snippet. See performance-implicit-cast-in-loop for example.
http://reviews.llvm.org/D18703 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits