From ca5c6563fcc86cc39cf50e0c0126c1724efeee1d Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 20 Dec 2018 20:35:01 +0000 Subject: [PATCH] Fix the example checker plugin after r349812. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349816 91177308-0d34-0410-b5e6-96231b3b80d8 --- examples/analyzer-plugin/MainCallChecker.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- 2.40.0