[OpenCL][Docs] Adding builtins requires adding to both now
authorSven van Haastregt <sven.vanhaastregt@arm.com>
Fri, 6 Aug 2021 09:21:26 +0000 (10:21 +0100)
committerSven van Haastregt <sven.vanhaastregt@arm.com>
Fri, 6 Aug 2021 09:21:26 +0000 (10:21 +0100)
commit22fdf617b6103df30ffae6cf469b78036e4ba615
tree05a948c5510d47273315ada25eb74726cc20fc98
parent3fd96e1b2e129b981f1bc1be2615486187e74687
[OpenCL][Docs] Adding builtins requires adding to both now

As we are trying to reach parity between opencl-c.h and
-fdeclare-opencl-builtins, ensure the documentation mentions that new
builtins should be added to both.

Reviewed by: Anastasia Stulova
clang/docs/OpenCLSupport.rst