with something like git grep -nP '(.*)\s*<\s*(.*)\s*\?\s*\g1\s*:\s*\g2' -- *.?xx Change-Id: Id5078b35961847feb78a66204fdb7598ee63fd23 Note: we also convert a>b?b:a Reviewed-on: https://gerrit.libreoffice.org/47736 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
OpenCL-related code that is not specific to any particular functionality OpenCL is used for. (Like formula group calculation in Calc.) Not compiled on platforms where OpenCL is not available (iOS and Android). On other platforms OpenCL is optional at run-time, but not at build time.