[PATCH] D28774: [clang-move] Ignore using decls which are defined in macros.

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 16 09:27:43 PST 2017


ioeric accepted this revision.
ioeric added a comment.
This revision is now accepted and ready to land.

Lg.



================
Comment at: test/clang-move/no-move-macro-helpers.cpp:1
+// RUN: mkdir -p %T/no-move-macro-helper
+// RUN: cp %S/Inputs/macro_helper_test.h  %T/no-move-macro-helper/macro_helper_test.h
----------------
Would be nice to add a test case where both `A` and `f1` are moved.


================
Comment at: test/clang-move/no-move-macro-helpers.cpp:19
+
+// CHECK-NEW-TEST-CPP-NOT: DEFINE(test)
----------------
Check that this is not deleted in old cc.


https://reviews.llvm.org/D28774





More information about the cfe-commits mailing list