[PATCH] D57390: OpenCL: Use length modifier for warning on vector printf arguments

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 29 11:59:48 PST 2019


arsenm updated this revision to Diff 184147.
arsenm marked 2 inline comments as done.
arsenm retitled this revision from "OpenCL: Don't promote vector args to printf" to "OpenCL: Use length modifier for warning on vector printf arguments".
arsenm edited the summary of this revision.
arsenm added a comment.

Split revert into separate patch


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57390/new/

https://reviews.llvm.org/D57390

Files:
  include/clang/AST/FormatString.h
  lib/AST/FormatString.cpp
  lib/AST/PrintfFormatString.cpp
  lib/AST/ScanfFormatString.cpp
  lib/Headers/opencl-c.h
  lib/Sema/SemaChecking.cpp
  test/Sema/format-strings.c
  test/SemaOpenCL/format-strings-fixit.cl
  test/SemaOpenCL/printf-format-string-warnings.cl
  test/SemaOpenCL/printf-format-strings.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57390.184147.patch
Type: text/x-patch
Size: 25526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190129/1fedae5e/attachment-0001.bin>


More information about the cfe-commits mailing list