forked from OSchip/llvm-project
Fix the example checker plugin after r349812.
llvm-svn: 349816
This commit is contained in:
parent
e0153b6f8a
commit
0e44ffdb0e
|
@ -45,7 +45,9 @@ void MainCallChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const
|
|||
// Register plugin!
|
||||
extern "C"
|
||||
void clang_registerCheckers (CheckerRegistry ®istry) {
|
||||
registry.addChecker<MainCallChecker>("example.MainCallChecker", "Disallows calls to functions called main");
|
||||
registry.addChecker<MainCallChecker>(
|
||||
"example.MainCallChecker", "Disallows calls to functions called main",
|
||||
"");
|
||||
}
|
||||
|
||||
extern "C"
|
||||
|
|
Loading…
Reference in New Issue