[PATCH] D45310: Warn about memcpy'ing non-trivial C structs

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 16 15:00:02 PDT 2018


rjmccall added inline comments.


================
Comment at: lib/Sema/SemaChecking.cpp:7651
+                                  << PointeeTy << 1);
+          SearchNonTrivialToCopyField::diag(PointeeTy, Dest, *this);
+      } else {
----------------
Indentation seems messed up in these two clauses.


Repository:
  rC Clang

https://reviews.llvm.org/D45310





More information about the cfe-commits mailing list