commit | 2e52cca061484b71b4996fa7cf5bde7cf3168434 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Sep 18 23:23:19 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Sep 18 23:23:19 2008 +0000 |
tree | 41bedffc9226da3cd5f543b98ca94cc8056e80b9 | |
parent | bb7a3d95821857c9d94fe3198c55467e3fbcfb93 [diff] [blame] |
Register the implicit null-dereferenced object as a notable symbol. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56319 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/CheckNSError.cpp b/lib/Analysis/CheckNSError.cpp index d39fa0a..25f610e 100644 --- a/lib/Analysis/CheckNSError.cpp +++ b/lib/Analysis/CheckNSError.cpp
@@ -149,6 +149,7 @@ << Param->getName() << "' may be null."; desc = os.str().c_str(); + BR.addNotableSymbol(SV->getSymbol()); BR.EmitWarning(R); } }