Ignore apparent buffer overruns on external or weak globals. This is a major
authorDuncan Sands <baldrick@free.fr>
Sun, 30 Sep 2012 07:30:10 +0000 (07:30 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 30 Sep 2012 07:30:10 +0000 (07:30 +0000)
commitb620469223d3135361978668c1f5b0739e5cbaa1
tree148088e6c1f60e03eb56818ec01b1407dcfc1327
parent73fab91f2cd5fa3dbe4593506ac4a31aa3faf897
Ignore apparent buffer overruns on external or weak globals.  This is a major
source of false positives due to globals being declared in a header with some
kind of incomplete (small) type, but the actual definition being bigger.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164912 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/Lint.cpp
test/Other/lint.ll