summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaOpenCL/vector_literals_const.cl
Commit message (Collapse)AuthorAgeFilesLines
* [OpenCL] Allow OpenCL C style vector initialization in C++Anastasia Stulova2019-08-021-27/+0
| | | | | | | | | | | Allow creating vector literals from other vectors. float4 a = (float4)(1.0f, 2.0f, 3.0f, 4.0f); float4 v = (float4)(a.s23, a.s01); Differential revision: https://reviews.llvm.org/D65286 llvm-svn: 367675
* Prior to adding the new "expected-no-diagnostics" directive to ↵Andy Gibbs2012-10-191-0/+1
| | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280
* Support constant evaluation for OpenCL nested vector literals. Patch by ↵Eli Friedman2012-01-031-0/+26
Anton Lokhmotov. llvm-svn: 147496
OpenPOWER on IntegriCloud