diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2013-08-19 16:27:34 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2013-08-19 16:27:34 +0000 |
| commit | a728e927c6e58f26b2c8615a8baa761d2f157e4b (patch) | |
| tree | 4aaf8bbf2d4b42bfdc26771b6c30e14cff37fd12 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 7d0dcd2de023e2667a3f1f14daff9d087fab9bf7 (diff) | |
| download | clang-a728e927c6e58f26b2c8615a8baa761d2f157e4b.tar.gz clang-a728e927c6e58f26b2c8615a8baa761d2f157e4b.tar.bz2 clang-a728e927c6e58f26b2c8615a8baa761d2f157e4b.tar.xz | |
[analyzer] Assume that strings are no longer than SIZE_MAX/4.
This keeps the analyzer from making silly assumptions, like thinking
strlen(foo)+1 could wrap around to 0. This fixes PR16558.
Patch by Karthik Bhat!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
