[PATCH] D51132: [clang-tidy] abseil-redundant-strcat-calls-check
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 24 13:06:03 PDT 2018
Eugene.Zelenko added a comment.
Example in documentation was not fixed.
================
Comment at: docs/clang-tidy/checks/abseil-redundant-strcat-calls.rst:16
+
+ std::string s = absl::StrCat("A", absl::StrCat("B", absll::StrCat("C", "D")));
+ std::string s = absl::StrCat("A", "B", "C", "D");
----------------
Will be good idea to add before/after comments. Indentation is not fixed and empty line was not inserted. Same or second example.
https://reviews.llvm.org/D51132
More information about the cfe-commits
mailing list