[PATCH] D54162: OpenCL: Don't warn on v printf modifier

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 6 11:03:30 PST 2018


arsenm created this revision.
arsenm added a reviewer: Anastasia.
Herald added subscribers: yaxunl, wdng.

This avoids spurious warnings, but could use
a lot of work. For example the number of vector
elements is not verified, and the passed
value type is not checked.


https://reviews.llvm.org/D54162

Files:
  include/clang/AST/FormatString.h
  lib/AST/FormatString.cpp
  lib/AST/PrintfFormatString.cpp
  test/Sema/format-strings.c
  test/SemaOpenCL/printf-format-strings.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54162.172796.patch
Type: text/x-patch
Size: 3458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181106/dfb3e798/attachment.bin>


More information about the cfe-commits mailing list