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.
Details
Details
- Reviewers
Anastasia
Diff Detail
Diff Detail
Paths
| Differential D54162
OpenCL: Don't warn on v printf modifier ClosedPublic Authored by arsenm on Nov 6 2018, 11:03 AM.
Details
Summary This avoids spurious warnings, but could use
Diff Detail Event TimelineThis revision is now accepted and ready to land.Nov 6 2018, 11:10 AM
Revision Contents
Diff 172796 include/clang/AST/FormatString.h
lib/AST/FormatString.cpp
lib/AST/PrintfFormatString.cpp
test/Sema/format-strings.c
test/SemaOpenCL/printf-format-strings.cl
|