[clang-tools-extra] r289465 - [clang-move] Fix buildbot failures

Alexander Shaposhnikov via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 12 12:24:45 PST 2016


Author: alexshap
Date: Mon Dec 12 14:24:44 2016
New Revision: 289465

URL: http://llvm.org/viewvc/llvm-project?rev=289465&view=rev
Log:
[clang-move] Fix buildbot failures

Fix the buildbot failures introduced by D27669

Modified:
    clang-tools-extra/trunk/clang-move/tool/ClangMoveMain.cpp

Modified: clang-tools-extra/trunk/clang-move/tool/ClangMoveMain.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-move/tool/ClangMoveMain.cpp?rev=289465&r1=289464&r2=289465&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-move/tool/ClangMoveMain.cpp (original)
+++ clang-tools-extra/trunk/clang-move/tool/ClangMoveMain.cpp Mon Dec 12 14:24:44 2016
@@ -10,6 +10,7 @@
 #include "ClangMove.h"
 #include "clang/Frontend/TextDiagnosticPrinter.h"
 #include "clang/Rewrite/Core/Rewriter.h"
+#include "clang/Tooling/ArgumentsAdjusters.h"
 #include "clang/Tooling/CommonOptionsParser.h"
 #include "clang/Tooling/Refactoring.h"
 #include "clang/Tooling/Tooling.h"
@@ -108,7 +109,7 @@ int main(int argc, const char **argv) {
                                 OptionsParser.getSourcePathList());
   // Add "-fparse-all-comments" compile option to make clang parse all comments.
   Tool.appendArgumentsAdjuster(tooling::getInsertArgumentAdjuster(
-      "-fparse-all-comments", ArgumentInsertPosition::BEGIN));
+      "-fparse-all-comments", tooling::ArgumentInsertPosition::BEGIN));
   move::MoveDefinitionSpec Spec;
   Spec.Names = {Names.begin(), Names.end()};
   Spec.OldHeader = OldHeader;




More information about the cfe-commits mailing list