[cfe-commits] r137811 - /cfe/trunk/examples/analyzer-plugin/MainCallChecker.cpp
Jordy Rose
jediknil at belkadan.com
Tue Aug 16 20:23:51 PDT 2011
Author: jrose
Date: Tue Aug 16 22:23:51 2011
New Revision: 137811
URL: http://llvm.org/viewvc/llvm-project?rev=137811&view=rev
Log:
Don't use BuiltinBug in analyzer plugin example.
Modified:
cfe/trunk/examples/analyzer-plugin/MainCallChecker.cpp
Modified: cfe/trunk/examples/analyzer-plugin/MainCallChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/analyzer-plugin/MainCallChecker.cpp?rev=137811&r1=137810&r2=137811&view=diff
==============================================================================
--- cfe/trunk/examples/analyzer-plugin/MainCallChecker.cpp (original)
+++ cfe/trunk/examples/analyzer-plugin/MainCallChecker.cpp Tue Aug 16 22:23:51 2011
@@ -34,7 +34,7 @@
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());
More information about the cfe-commits
mailing list