diff options
author | Clement Courbet <courbet@google.com> | 2021-11-19 16:42:32 +0100 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2021-11-24 08:07:21 +0100 |
commit | ba4411e7c6a5879ce8acf246b0cd03ec738d9d6b (patch) | |
tree | 455c7ea64dd21718a87a2e03b03fe343cf2bb907 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | b9fd7247a71d7ab652c3e827b7018d6ea446024e (diff) | |
download | llvm-ba4411e7c6a5879ce8acf246b0cd03ec738d9d6b.zip llvm-ba4411e7c6a5879ce8acf246b0cd03ec738d9d6b.tar.gz llvm-ba4411e7c6a5879ce8acf246b0cd03ec738d9d6b.tar.bz2 |
[clang-tidy] performance-unnecessary-copy-initialization: Fix false negative.
`isConstRefReturningMethodCall` should be considering
`CXXOperatorCallExpr` in addition to `CXXMemberCallExpr`. Clang considers
these to be distinct (`CXXOperatorCallExpr` derives from `CallExpr`, not
`CXXMemberCallExpr`), but we don't care in the context of this
check.
This is important because of
`std::vector<Expensive>::operator[](size_t) const`.
Differential Revision: https://reviews.llvm.org/D114249
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions