Don't use BuiltinBug in analyzer plugin example.

llvm-svn: 137811
This commit is contained in:
Jordy Rose 2011-08-17 03:23:51 +00:00
parent be5e987379
commit ae55cf2f90
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ void MainCallChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const
return;
if (!BT)
BT.reset(new BuiltinBug("call to main"));
BT.reset(new BugType("call to main", "example analyzer plugin"));
RangedBugReport *report = new RangedBugReport(*BT, BT->getName(), N);
report->addRange(Callee->getSourceRange());