File src/unused-funcs.cpp changed (mode: 100644) (index 5818833..8fe71b0) |
... |
... |
int main(int argc, const char *argv[]) { |
43 |
43 |
ct::CommonOptionsParser optionsParser(argc, argv, toolCategory); |
ct::CommonOptionsParser optionsParser(argc, argv, toolCategory); |
44 |
44 |
ct::ClangTool tool(optionsParser.getCompilations(), |
ct::ClangTool tool(optionsParser.getCompilations(), |
45 |
45 |
optionsParser.getSourcePathList()); |
optionsParser.getSourcePathList()); |
46 |
|
|
|
47 |
46 |
CustomDiagnosticConsumer diagConsumer; |
CustomDiagnosticConsumer diagConsumer; |
48 |
47 |
tool.setDiagnosticConsumer(&diagConsumer); |
tool.setDiagnosticConsumer(&diagConsumer); |
49 |
48 |
|
|