[PATCH] D99794: libclc: Add -cl-no-stdinc to clang flags on clang >=13

Jan Vesely via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 6 12:17:06 PDT 2021


jvesely added a comment.

In D99794#2671843 <https://reviews.llvm.org/D99794#2671843>, @Anastasia wrote:

> Btw just out of curiosity are there any reasons for libclc not to use clang implicit headers? They support all OpenCL standards and get a lot of new features and bug fixes regularly.

historic. libclc was ignored by most of the clang opencl work and nobody volunteered to switch it to clang provided headers.
Moreover, it has been stuck in clc 1.1/1.2 so most of the new features don't apply.
The main user is mesa/clover so that one needs to be switched to using clang implicit headers first

LLAsm path still can't use (any) headers so that part of this patch would be needed anyway.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99794/new/

https://reviews.llvm.org/D99794



More information about the llvm-commits mailing list