forked from OSchip/llvm-project
Register the implicit null-dereferenced object as a notable symbol.
llvm-svn: 56319
This commit is contained in:
parent
b42f482c91
commit
6a1a334b6c
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue