From: Aaron Ballman Date: Thu, 20 Dec 2018 20:35:01 +0000 (+0000) Subject: Fix the example checker plugin after r349812. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca5c6563fcc86cc39cf50e0c0126c1724efeee1d;p=clang Fix the example checker plugin after r349812. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349816 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/examples/analyzer-plugin/MainCallChecker.cpp b/examples/analyzer-plugin/MainCallChecker.cpp index adb4e7da30..77316d696d 100644 --- a/examples/analyzer-plugin/MainCallChecker.cpp +++ b/examples/analyzer-plugin/MainCallChecker.cpp @@ -45,7 +45,9 @@ void MainCallChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const // Register plugin! extern "C" void clang_registerCheckers (CheckerRegistry ®istry) { - registry.addChecker("example.MainCallChecker", "Disallows calls to functions called main"); + registry.addChecker( + "example.MainCallChecker", "Disallows calls to functions called main", + ""); } extern "C"