[change-namespace] Pass Style to ChangeNamespaceTool.

llvm-svn: 283338
This commit is contained in:
Haojian Wu 2016-10-05 17:00:40 +00:00
parent aa0a562bd7
commit b530f1649e
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ int main(int argc, const char **argv) {
const auto &Files = OptionsParser.getSourcePathList();
tooling::RefactoringTool Tool(OptionsParser.getCompilations(), Files);
change_namespace::ChangeNamespaceTool NamespaceTool(
OldNamespace, NewNamespace, FilePattern, &Tool.getReplacements());
OldNamespace, NewNamespace, FilePattern, &Tool.getReplacements(), Style);
ast_matchers::MatchFinder Finder;
NamespaceTool.registerMatchers(&Finder);
std::unique_ptr<tooling::FrontendActionFactory> Factory =