Skip to content

Commit 8b6519f

Browse files
committed
Apply clang-format
Signed-off-by: Mariya Podchishchaeva <mariya.podchishchaeva@intel.com>
1 parent 730168a commit 8b6519f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/CodeGenSYCL/address-space-parameter-conversions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void foo(int * Data) {}
99
// CHECK-DAG: define spir_func void @[[RAW_PTR:[a-zA-Z0-9_]+]](i32 addrspace(4)* %
1010
void foo2(int * Data) {}
1111
// CHECK-DAG: define spir_func void @[[RAW_PTR2:[a-zA-Z0-9_]+]](i32 addrspace(4)* %
12-
void foo(__attribute__((opencl_local)) int * Data) {}
12+
void foo(__attribute__((opencl_local)) int *Data) {}
1313
// CHECK-DAG: define spir_func void [[LOC_PTR:@[a-zA-Z0-9_]+]](i32 addrspace(3)* %
1414

1515
template<typename T>

clang/test/SemaOpenCLCXX/address-space-lambda.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ __kernel void test_qual() {
3434
// This test case is disabled due to
3535
// https://bugs.llvm.org/show_bug.cgi?id=45472
3636
auto priv3 = []() __global {}; //ex pected-note{{candidate function not viable: 'this' object is in address space '__private', but method expects object in address space '__global'}} //ex pected-note{{conversion candidate of type 'void (*)()'}}
37-
priv3(); //ex pected-error{{no matching function for call to object of type}}
37+
priv3(); //ex pected-error{{no matching function for call to object of type}}
3838

3939
__constant auto const1 = []() __private{}; //expected-note{{candidate function not viable: 'this' object is in address space '__constant', but method expects object in address space '__private'}} //expected-note{{conversion candidate of type 'void (*)()'}}
4040
const1(); //expected-error{{no matching function for call to object of type '__constant (lambda at}}

0 commit comments

Comments
 (0)