mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
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
Block a user