[PATCH] D131639: [OpenMP] Remove 'stdbool.h' from OpenMP header wrappers
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 10 19:08:55 PDT 2022
jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, tianshilei1992, JonChesterfield.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.
This patch removes the `stdbool.h` include path from the clang OpenMP
header wrappers. These are used to predeclare the device-side functions
for common headers. The bool header should not be necessary and causes
some problems with redeclarations.
Fixes #57066
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131639
Files:
clang/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h
Index: clang/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h
===================================================================
--- clang/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h
+++ clang/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h
@@ -40,7 +40,6 @@
// Import types which will be used by __clang_hip_libdevice_declares.h
#ifndef __cplusplus
-#include <stdbool.h>
#include <stdint.h>
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131639.451702.patch
Type: text/x-patch
Size: 453 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220811/3d45dded/attachment.bin>
More information about the cfe-commits
mailing list