Author: hokein Date: Wed Oct 5 12:00:40 2016 New Revision: 283338 URL: http://llvm.org/viewvc/llvm-project?rev=283338&view=rev Log: [change-namespace] Pass Style to ChangeNamespaceTool.
Modified: clang-tools-extra/trunk/change-namespace/tool/ClangChangeNamespace.cpp Modified: clang-tools-extra/trunk/change-namespace/tool/ClangChangeNamespace.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/change-namespace/tool/ClangChangeNamespace.cpp?rev=283338&r1=283337&r2=283338&view=diff ============================================================================== --- clang-tools-extra/trunk/change-namespace/tool/ClangChangeNamespace.cpp (original) +++ clang-tools-extra/trunk/change-namespace/tool/ClangChangeNamespace.cpp Wed Oct 5 12:00:40 2016 @@ -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 = _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits