[cfe-commits] [PATCH] Use renamed CommonOptionsParser member functions

Edwin Vane edwin.vane at intel.com
Wed Dec 12 11:44:03 PST 2012


GetCompilations() and GetSourcePathLists() were renamed to match LLVM
style.

http://llvm-reviews.chandlerc.com/D212

Files:
  cpp11-migrate/Cpp11Migrate.cpp

Index: cpp11-migrate/Cpp11Migrate.cpp
===================================================================
--- cpp11-migrate/Cpp11Migrate.cpp
+++ cpp11-migrate/Cpp11Migrate.cpp
@@ -42,8 +42,8 @@
   CommonOptionsParser OptionsParser(argc, argv);
 
   // TODO: Create transforms requested by command-line.
-  ClangTool SyntaxTool(OptionsParser.GetCompilations(),
-                       OptionsParser.GetSourcePathList());
+  ClangTool SyntaxTool(OptionsParser.getCompilations(),
+                       OptionsParser.getSourcePathList());
 
   // First, let's check to make sure there were no errors.
   if (SyntaxTool.run(newFrontendActionFactory<clang::SyntaxOnlyAction>()) !=
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D212.1.patch
Type: text/x-patch
Size: 677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121212/b5656807/attachment.bin>


More information about the cfe-commits mailing list