[analyzer] Suppress null reports from defensive checks in function-like macros.
authorDevin Coughlin <dcoughlin@apple.com>
Fri, 29 Jan 2016 18:47:13 +0000 (18:47 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Fri, 29 Jan 2016 18:47:13 +0000 (18:47 +0000)
commit07c451fa4a4831b42f883cdf0dd16d9d066e7698
tree59a0feec2dd6267b43df8d7b2ceb04f23c469900
parentad9e7ea6d703b88986ebc3cebf191a2e23711cbf
[analyzer] Suppress null reports from defensive checks in function-like macros.

We already do this for case splits introduced as a result of defensive null
checks in functions and methods, so do the same for function-like macros.

rdar://problem/19640441

llvm-svn: 259222
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
clang/test/Analysis/inlining/false-positive-suppression.c