[PATCH] D69548: Give clang-tidy readability-redundant-string-init a customizable list of string types to fix
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 11 09:08:29 PST 2019
Eugene.Zelenko added inline comments.
================
Comment at: clang-tools-extra/docs/clang-tidy/checks/readability-redundant-string-init.rst:30
+ Semicolon-delimited list of base class names to apply this check to.
+ By default `::std::basic_string` applies to std::string and std::wstring.
+ Set to e.g. `::std::basic_string;llvm::StringRef;QString` to perform this
----------------
gribozavr2 wrote:
> Please wrap std::string and std::wstring in backtics.
Double back-ticks, because names are language constructs here.
Repository:
rCTE Clang Tools Extra
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69548/new/
https://reviews.llvm.org/D69548
More information about the cfe-commits
mailing list