File for-postfix.cpp changed (mode: 100644) (index 30c3a3a..bfca9c7) |
23 |
23 |
#include <llvm/Support/CommandLine.h> |
#include <llvm/Support/CommandLine.h> |
24 |
24 |
|
|
25 |
25 |
#include <clang/ASTMatchers/ASTMatchFinder.h> |
#include <clang/ASTMatchers/ASTMatchFinder.h> |
|
26 |
|
#include <clang/ASTMatchers/ASTMatchers.h> |
26 |
27 |
|
|
27 |
28 |
#include <clang/Tooling/CommonOptionsParser.h> |
#include <clang/Tooling/CommonOptionsParser.h> |
28 |
29 |
#include <clang/Tooling/Tooling.h> |
#include <clang/Tooling/Tooling.h> |
|
... |
... |
main(int argc, const char *argv[]) |
110 |
111 |
finder.addMatcher(builtinMatcher, &helper); |
finder.addMatcher(builtinMatcher, &helper); |
111 |
112 |
finder.addMatcher(opMatcher, &helper); |
finder.addMatcher(opMatcher, &helper); |
112 |
113 |
|
|
113 |
|
return tool.run(newFrontendActionFactory(&finder)); |
|
|
114 |
|
return tool.run(newFrontendActionFactory(&finder).get()); |
114 |
115 |
} |
} |