aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2018-07-13 11:41:56 +0000
committerSam McCall <sam.mccall@gmail.com>2018-07-13 11:41:56 +0000
commit57b66c8ba324787bec1edc6fce0e6c1dc7aad239 (patch)
tree9f9a6d4b26a12fab795b237b36109724102c5c10 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parent1a728f66efbf02f703a1e782efd4172842fd1bb8 (diff)
downloadllvm-57b66c8ba324787bec1edc6fce0e6c1dc7aad239.zip
llvm-57b66c8ba324787bec1edc6fce0e6c1dc7aad239.tar.gz
llvm-57b66c8ba324787bec1edc6fce0e6c1dc7aad239.tar.bz2
[clang-tidy] readability-inconsistent-declaration-parameter-name: accept approximate name matches.
Summary: The goal is to reduce false positives when the difference is intentional, like: foo(StringRef name); foo(StringRef name_ref) { string name = cleanup(name_ref); ... } Or semantically unimportant, like: foo(StringRef full_name); foo(StringRef name) { ... } There are other matching names we won't recognise (e.g. syns vs synonyms) but this catches many that we see in practice, and gives people a systematic workaround. The old behavior is available as a 'Strict' option. Subscribers: xazax.hun, cfe-commits Differential Revision: https://reviews.llvm.org/D49285 llvm-svn: 336992
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions