[PATCH] D16351: [FIX] Bug 25404 - Crash on typedef in OpenCL 2.0

Igor Chesnokov via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 30 01:26:52 PST 2016


ichesnokov added a comment.

BugZilla page: https://llvm.org/bugs/show_bug.cgi?id=25404

Please review and submit this bug.


================
Comment at: test/SemaOpenCL/implicit-typedef.cl:2
@@ +1,2 @@
+// RUN: %clang_cc1 "-cc1" "-emit-llvm" "-D" "cl_khr_fp64" "-D" "cl_khr_int64_base_atomics" "-fno-dwarf-directory-asm" "-fmessage-length" "205" "-fdiagnostics-show-option" "-cl-std=CL2.0" "-x" "cl" "%s" "-fcolor-diagnostics" -o -
+typedef atomic_int atomic_flag;
----------------
ichesnokov wrote:
> Not necessary. Removed.
-main-file-name is not necessary. Removed.


Repository:
  rL LLVM

http://reviews.llvm.org/D16351





More information about the cfe-commits mailing list