summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaOpenCL/format-strings-fixit.cl
Commit message (Collapse)AuthorAgeFilesLines
* [OpenGL] Fix test on PPC after r352540Eric Liu2019-01-301-3/+3
| | | | | | | | | | | | | | Summary: Specify -triple like test/SemaOpenCL/logical-ops.cl. Otherwise, this test fails on PPC. Reviewers: bkramer Subscribers: Anastasia, cfe-commits Differential Revision: https://reviews.llvm.org/D57442 llvm-svn: 352618
* OpenCL: Try to fix bot test failureMatt Arsenault2019-01-291-0/+2
| | | | llvm-svn: 352544
* OpenCL: Use length modifier for warning on vector printf argumentsMatt Arsenault2019-01-291-4/+54
| | | | | | | | | | | | Re-enable format string warnings on printf. The warnings are still incomplete. Apparently it is undefined to use a vector specifier without a length modifier, which is not currently warned on. Additionally, type warnings appear to not be working with the hh modifier, and aren't warning on all of the special restrictions from c99 printf. llvm-svn: 352540
* OpenCL: Improve vector printf warningsMatt Arsenault2018-12-011-0/+24
The vector modifier is considered separate, so don't treat it as a conversion specifier. This is still not warning on some cases, like using a type that isn't a valid vector element. Fixes bug 39652 llvm-svn: 348084
OpenPOWER on IntegriCloud