[PATCH] D15411: [clang-tidy] Check for suspicious string assignments.

Richard via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 14 12:58:09 PST 2015


LegalizeAdulthood added inline comments.

================
Comment at: test/clang-tidy/misc-string-integer-assignment.cpp:46
@@ +45,3 @@
+  ws += L'c';
+  ws += (wchar_t)6;
+
----------------
Use `static_cast<>` instead of C-style cast?


http://reviews.llvm.org/D15411





More information about the cfe-commits mailing list