aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2021-11-19 16:42:32 +0100
committerClement Courbet <courbet@google.com>2021-11-24 08:07:21 +0100
commitba4411e7c6a5879ce8acf246b0cd03ec738d9d6b (patch)
tree455c7ea64dd21718a87a2e03b03fe343cf2bb907 /lldb/packages/Python/lldbsuite/test/configuration.py
parentb9fd7247a71d7ab652c3e827b7018d6ea446024e (diff)
downloadllvm-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