summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2024-06-10 11:15:11 +0200
committerGitHub <noreply@github.com>2024-06-10 11:15:11 +0200
commit415a82c64afa0047383caf471aa872fdb0e2658d (patch)
tree0e8b7297f9d0d8bc3d609e5d22c8b2fc4a488595 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentc9fd7b1a541af66d11a847564d31460a80c66d47 (diff)
[clang-tidy] `doesNotMutateObject`: Handle calls to member functions … (#94362)
…and operators that have non-const overloads. This allows `unnecessary-copy-initialization` to warn on more cases. The common case is a class with a a set of const/non-sconst overloads (e.g. std::vector::operator[]). ``` void F() { std::vector<Expensive> v; // ... const Expensive e = v[i]; } ```
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions