Skip to content

Commit d422c22

Browse files
frasercrmckIanWood1
authored andcommitted
[libclc] Remove unnecessary clcmacros.h (llvm#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 d7beb5f commit d422c22

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

libclc/generic/include/clc/clc.h

Lines changed: 0 additions & 3 deletions
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

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)