aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorKirstóf Umann <dkszelethus@gmail.com>2020-11-02 16:37:59 +0100
committerKirstóf Umann <dkszelethus@gmail.com>2020-11-02 16:41:17 +0100
commit22e7182002b5396539c69603b1c8c924b5f661e7 (patch)
tree9728dd235b0b25ca693d0dc59ca75001a8fd5e3a /clang/lib/CodeGen/CodeGenModule.cpp
parentb3b993a7ad817c3c5801341fa78f34332900eb83 (diff)
downloadllvm-22e7182002b5396539c69603b1c8c924b5f661e7.zip
llvm-22e7182002b5396539c69603b1c8c924b5f661e7.tar.gz
llvm-22e7182002b5396539c69603b1c8c924b5f661e7.tar.bz2
[analyzer][ReturnPtrRangeChecker] Fix a false positive on end() iterator
ReturnPtrRange checker emits a report if a function returns a pointer which points out of the buffer. However, end() iterator of containers is always such a pointer, so this always results a false positive report. This false positive case is now eliminated. This patch resolves these tickets: https://bugs.llvm.org/show_bug.cgi?id=20929 https://bugs.llvm.org/show_bug.cgi?id=25226 https://bugs.llvm.org/show_bug.cgi?id=27701 Patch by Tibor Brunner! Differential Revision: https://reviews.llvm.org/D83678
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions