diff options
author | Kristóf Umann <dkszelethus@gmail.com> | 2024-06-24 16:34:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 16:34:36 +0200 |
commit | fc4b09d16139348533f1a1c9c72c99dacba51417 (patch) | |
tree | ac8c9e96a63f394cf3be16e421596908088de498 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 6ecb9fd83d6015b19be8db554328645ae15e63e9 (diff) | |
download | llvm-fc4b09d16139348533f1a1c9c72c99dacba51417.zip llvm-fc4b09d16139348533f1a1c9c72c99dacba51417.tar.gz llvm-fc4b09d16139348533f1a1c9c72c99dacba51417.tar.bz2 |
[analyzer] Add an ownership change visitor to StreamChecker (#94957)
This is very similar to https://reviews.llvm.org/D105553, in fact, I
barely made any changes from MallocChecker's ownership visitor to this
one.
The new visitor emits a diagnostic note for function where a change in
stream ownership was expected (for example, it had a fclose() call), but
the ownership remained unchanged. This is similar to messages regarding
ordinary values ("Returning without writing to x").
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions