[PATCH] D51544: [OpenCL] Split opencl-c.h header

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 5 08:10:25 PDT 2018


Anastasia added a comment.

It seems generally good to partition this big header but I am trying to understand what problem is it trying to solve now? The unsupported declarations are guarded out by `#if defined(ext_name)` and therefore won't be parsed and put into PCH is extensions are not supported by some target. So I guess it can save the space when installing the headers because we don't need to copy all of them into the installation? Although this is not implemented currently.


Repository:
  rC Clang

https://reviews.llvm.org/D51544





More information about the cfe-commits mailing list