[PATCH] D25612: [clang-tidy] Add additional diagnostic to misc-use-after-move

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 14 06:00:44 PDT 2016


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

The code looks good.



================
Comment at: clang-tidy/misc/UseAfterMoveCheck.cpp:579
                 DiagnosticIDs::Note);
+  } else if(UseLoc < MoveLoc || Use.DeclRef == MoveArg) {
+    Check->diag(UseLoc,
----------------
A space after `if`.


https://reviews.llvm.org/D25612





More information about the cfe-commits mailing list