[all-commits] [llvm/llvm-project] 4e901c: [clang-tidy] Support readability-redundant-string-...
Mike Crowe via All-commits
all-commits at lists.llvm.org
Mon Mar 13 11:03:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e901cda725b5adbdfeb495607fda9a2f84128c8
https://github.com/llvm/llvm-project/commit/4e901cda725b5adbdfeb495607fda9a2f84128c8
Author: Mike Crowe <mac at mcrowe.com>
Date: 2023-03-13 (Mon, 13 Mar 2023)
Changed paths:
M clang-tools-extra/clang-tidy/readability/RedundantStringCStrCheck.cpp
M clang-tools-extra/clang-tidy/readability/RedundantStringCStrCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/redundant-string-cstr.rst
A clang-tools-extra/test/clang-tidy/checkers/readability/redundant-string-cstr-function.cpp
Log Message:
-----------
[clang-tidy] Support readability-redundant-string-cstr.StringParameterFunctions option
Add StringParameterFunctions option to allow the
readability-redundant-string-cstr check to work with library functions
such as fmt::format and spdlog::logger:info that are able to support
std::string arguments in addition to const char * ones.
Depends on D143342
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D145885
More information about the All-commits
mailing list