kzhuravl added inline comments.
================ Comment at: test/SemaOpenCL/extensions.cl:47 +#ifndef _OPENCL_H_ int isnan(float x) { ---------------- Anastasia wrote: > Why do you need this? `isnan` and `isfinite` are declared in opencl-c.h, so without guards I am getting redeclation diagnostics. Alternatively we can add overloadable attribute to `isnan` and `isfinite` in the test to avoid those diagnostic messages? https://reviews.llvm.org/D28257 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits