llvm-project
5b4f4244 - [libclc][NFC] Fix build warning typedef-redefinition (#177888)

Commit
1 day ago
[libclc][NFC] Fix build warning typedef-redefinition (#177888) Fix downstream build warning: redefinition of typedef 'ushort8' is a C11 feature [-Wtypedef-redefinition] clctypes.h re-defines typedef from opencl-c-base.h. Both files are included in libclc/opencl folder. This PR deletes clctypes.h and includes opencl-c-base.h for both CLC and OpenCL libraries. Previously opencl-c-base.h was only included in OpenCL library.
Author
Parents
Loading