This reverts r348083. This was based on a misreading of the spec
for printf specifiers.
Also revert r343653, as without a subsequent patch, a correctly
specified format for a vector will incorrectly warn.
Fixes bug 40491.
Paths
| Differential D57405
Revert "OpenCL: Extend argument promotion rules to vector types" ClosedPublic Authored by arsenm on Jan 29 2019, 11:23 AM.
Details
Diff Detail
Revision Contents
Diff 184134 lib/Headers/opencl-c.h
lib/Sema/SemaExpr.cpp
test/CodeGenOpenCL/printf.cl
test/SemaOpenCL/printf-format-string-warnings.cl
test/SemaOpenCL/printf-format-strings.cl
|