Skip to content

Commit d664c42

Browse files
authored
[libclc] Remove unnecessary clcmacros.h (#137149)
The macros defined by this file (not to be confused with clcmacro.h) don't appear necessary for building libclc. The language version macros should be handled by clang, and there are no uses of NULL or kernel_exec in the source code.
1 parent e37c236 commit d664c42

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

libclc/generic/include/clc/clc.h

-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@
3535
/* 6.2.4.2 Reinterpreting Types Using as_type() and as_typen() */
3636
#include <clc/as_type.h>
3737

38-
/* 6.9 Preprocessor Directives and Macros */
39-
#include <clc/clcmacros.h>
40-
4138
/* 6.11.1 Work-Item Functions */
4239
#include <clc/workitem/get_global_size.h>
4340
#include <clc/workitem/get_global_id.h>

libclc/generic/include/clc/clcmacros.h

-31
This file was deleted.

0 commit comments

Comments
 (0)