mirror of https://github.com/microsoft/clang.git
analyzer-plugin/MainCallChecker.cpp: s/generateSink/generateErrorNode/, corresponding to r247859.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247862 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6df9416538
commit
0e20736e0e
|
@ -30,7 +30,7 @@ void MainCallChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const
|
|||
return;
|
||||
|
||||
if (II->isStr("main")) {
|
||||
ExplodedNode *N = C.generateSink();
|
||||
ExplodedNode *N = C.generateErrorNode();
|
||||
if (!N)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue