[clang-tidy] Remove opencl-c.h inclusion from tests
authorSven van Haastregt <sven.vanhaastregt@arm.com>
Thu, 24 Feb 2022 16:28:52 +0000 (16:28 +0000)
committerSven van Haastregt <sven.vanhaastregt@arm.com>
Thu, 24 Feb 2022 16:28:52 +0000 (16:28 +0000)
commitba18c360b2f3c25fe9091c7a7931eded374b3cf6
tree69af04592a510a122fc6d7acc5be0584d16c97ce
parent4a3708cd6b062a6afe2697cc8b39329e3f2faa25
[clang-tidy] Remove opencl-c.h inclusion from tests

After D120254 some clang-tidy tests started failing on release builds.

clang-tidy has been using the `-fdeclare-opencl-builtins` functionality
since this became the default in clang, so there is no need to include
`opencl-c.h`.

Differential Revision: https://reviews.llvm.org/D120470
clang-tools-extra/test/clang-tidy/checkers/altera-id-dependent-backward-branch.cpp
clang-tools-extra/test/clang-tidy/checkers/altera-single-work-item-barrier.cpp