[PATCH] Warn on mismatching types to sizeof for memset and friends where length is of the form sizeof(Type) * factor.

Oliver Chang ochang at google.com
Wed Apr 8 15:49:50 PDT 2015


http://reviews.llvm.org/D8881

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaChecking.cpp
  test/Analysis/taint-generic.c
  test/SemaCXX/warn-memset-bad-sizeof.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8881.23449.patch
Type: text/x-patch
Size: 8779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150408/5fa90e4e/attachment.bin>


More information about the cfe-commits mailing list