Skip to content

Commit 974cc70

Browse files
authored
[SYCL][ESIMD][NFC] Disable clang-format in allowed function list (#12016)
It's causing some annoyance in merges. Signed-off-by: Sarnie, Nick <[email protected]>
1 parent bc30bef commit 974cc70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/SYCLLowerIR/ESIMD/ESIMDVerifier.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ namespace id = itanium_demangle;
3131
#define DEBUG_TYPE "esimd-verifier"
3232

3333
// A list of SYCL functions (regexps) allowed for use in ESIMD context.
34+
// clang-format off
3435
static const char *LegalSYCLFunctions[] = {
3536
"^sycl::_V1::accessor<.+>::accessor",
3637
"^sycl::_V1::accessor<.+>::~accessor",
@@ -80,6 +81,7 @@ static const char *LegalSYCLFunctionsInStatelessMode[] = {
8081
"^sycl::_V1::accessor<.+>::getMemoryRange",
8182
"^sycl::_V1::accessor<.+>::getOffset",
8283
"^sycl::_V1::accessor<.+>::operator\\[\\]"};
84+
// clang-format on
8385

8486
namespace {
8587

0 commit comments

Comments
 (0)