diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-09-18 23:23:19 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-09-18 23:23:19 +0000 |
commit | 37fc826f94c3d8fb6ad0d4c3c822d0682e53e267 (patch) | |
tree | 41bedffc9226da3cd5f543b98ca94cc8056e80b9 /lib/Analysis | |
parent | 7360fda1efd88fd28ca2882579676dbd8569c181 (diff) |
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
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/CheckNSError.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/CheckNSError.cpp b/lib/Analysis/CheckNSError.cpp index d39fa0a86a..25f610e833 100644 --- a/lib/Analysis/CheckNSError.cpp +++ b/lib/Analysis/CheckNSError.cpp @@ -149,6 +149,7 @@ void NSErrorCheck::CheckParamDeref(VarDecl* Param, GRStateRef rootState, << Param->getName() << "' may be null."; desc = os.str().c_str(); + BR.addNotableSymbol(SV->getSymbol()); BR.EmitWarning(R); } } |