[PATCH] D18265: [clang-tidy] New: checker misc-assign-operator-return

Balogh, Ádám via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 29 23:54:28 PDT 2016


baloghadamsoftware marked an inline comment as done.

================
Comment at: clang-tidy/misc/AssignOperatorCheck.cpp:75
@@ +74,3 @@
+    static const char *const Messages[][2] = {
+        {"ReturnType", "operator=() should return '%0&'"},
+        {"ArgumentType", "operator=() should take '%0 const&', '%0&&' or '%0'"},
----------------
Oh, sorry, I mixed up things yesterday: started compilation, went to a meeting and then forgot that I did not check compilation results.


http://reviews.llvm.org/D18265





More information about the cfe-commits mailing list