[PATCH] D28228: [clang-move] Support moving enum declarations.

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 3 03:31:38 PST 2017


ioeric added a comment.

Do we consider enum helpers?



================
Comment at: clang-move/ClangMove.cpp:171
+    assert(ED);
+    MoveTool->getMovedDecls().push_back(ED);
+    MoveTool->getUnremovedDeclsInOldHeader().erase(ED);
----------------
These 3 lines seen to be repeated. Maybe pull them out as a `MoveTool` method?


https://reviews.llvm.org/D28228





More information about the cfe-commits mailing list