From 26fb4cbaef01a98b78eb24b1ec72946a87e70595 Mon Sep 17 00:00:00 2001 From: Jordy Rose Date: Wed, 17 Aug 2011 03:23:51 +0000 Subject: [PATCH] Don't use BuiltinBug in analyzer plugin example. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137811 91177308-0d34-0410-b5e6-96231b3b80d8 --- examples/analyzer-plugin/MainCallChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/analyzer-plugin/MainCallChecker.cpp b/examples/analyzer-plugin/MainCallChecker.cpp index bf753899c2..a720bb9647 100644 --- a/examples/analyzer-plugin/MainCallChecker.cpp +++ b/examples/analyzer-plugin/MainCallChecker.cpp @@ -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()); -- 2.40.0