[PATCH] D27917: [OpenCL] Improve diagnostics for double type

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 23 05:01:52 PST 2016


Anastasia added inline comments.


================
Comment at: test/SemaOpenCL/unknown_type.cl:1
+// RUN: %clang_cc1 -cl-std=CL1.1 -fsyntax-only -verify %s
+typedef double double2 __attribute__((ext_vector_type(2)));   // expected-error {{use of type 'double' requires cl_khr_fp64 extension to be enabled}}
----------------
Could this be merged with similar test in test/SemaOpenCL/extensions.cl instyead of adding a new file?


https://reviews.llvm.org/D27917





More information about the cfe-commits mailing list