Skip to content

Commit dadbca8

Browse files
committed
Added -Wno-builtin-macro-redefined to the test Clang :: SemaSYCL/args-size-overflow.cpp
This is a workaround for fixing fail of this test because of this patch: https://reviews.llvm.org/rG0123deb3a6f0a83095287f51b07c77b7b43ab847
1 parent 0542920 commit dadbca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/SemaSYCL/args-size-overflow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clang_cc1 -fsycl-is-device -triple spir64 -internal-isystem %S/Inputs -fsyntax-only -Wsycl-strict -sycl-std=2020 -verify %s -DSPIR64
2-
// RUN: %clang_cc1 -fsycl-is-device -triple spir -internal-isystem %S/Inputs -fsyntax-only -Wsycl-strict -sycl-std=2020 -verify %s -DSPIR32
1+
// RUN: %clang_cc1 -fsycl-is-device -triple spir64 -internal-isystem %S/Inputs -fsyntax-only -Wsycl-strict -Wno-builtin-macro-redefined -sycl-std=2020 -verify %s -DSPIR64
2+
// RUN: %clang_cc1 -fsycl-is-device -triple spir -internal-isystem %S/Inputs -fsyntax-only -Wsycl-strict -Wno-builtin-macro-redefined -sycl-std=2020 -verify %s -DSPIR32
33

44
#include "sycl.hpp"
55
class Foo;

0 commit comments

Comments
 (0)