From 0e44ffdb0e672e1be6ee393c79c557b575585799 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. llvm-svn: 349816 --- clang/examples/analyzer-plugin/MainCallChecker.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clang/examples/analyzer-plugin/MainCallChecker.cpp b/clang/examples/analyzer-plugin/MainCallChecker.cpp index adb4e7da30ca..77316d696de3 100644 --- a/clang/examples/analyzer-plugin/MainCallChecker.cpp +++ b/clang/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"