[PATCH] D153226: OpenMP: Don't include stdbool.h in builtin headers

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 18 06:34:43 PDT 2023


arsenm created this revision.
arsenm added reviewers: ronlieb, jdoerfert, doru1004.
Herald added subscribers: sunshaoce, guansong, yaxunl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added subscribers: jplehr, sstefan1, wdng.

Pre-C99 didn't include bool, and C99 allows you to redefine true/false
apparently.


https://reviews.llvm.org/D153226

Files:
  clang/lib/Headers/__clang_hip_libdevice_declares.h
  clang/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h
  clang/test/Headers/openmp-device-functions-bool.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153226.532471.patch
Type: text/x-patch
Size: 6556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230618/f912940c/attachment.bin>


More information about the cfe-commits mailing list