Skip to content

Commit 34f7faf

Browse files
Corrected license header test name and clang-format errors
Signed-off-by: Elizabeth Andrews <[email protected]>
1 parent 56c6f37 commit 34f7faf

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

sycl/include/CL/sycl/queue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class queue {
8080
/// \param AsyncHandler is a SYCL asynchronous exception handler.
8181
/// \param PropList is a list of properties for queue construction.
8282
explicit queue(const device &SyclDevice, const async_handler &AsyncHandler,
83-
const property_list &PropList = {});
83+
const property_list &PropList = {});
8484

8585
/// Constructs a SYCL queue instance that is associated with the context
8686
/// provided, using the device returned by the device selector.
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
// RUN: %clangxx -fsyntax-only -Xclang -verify %s -Xclang -verify-ignore-unexpected=note,warning
2-
//==--------------- ctad.cpp - SYCL vector CTAD fail test ------------------==//
2+
//==-- implicit_conversion_error.cpp - Unintended implicit conversion check --==//
33
//
44
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
55
// See https://llvm.org/LICENSE.txt for license information.
66
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
77
//
8-
//===----------------------------------------------------------------------===//
8+
//===-----------------------------------------------------------------------===//
99
#include <CL/sycl.hpp>
1010

11-
1211
int main() {
1312
cl::sycl::queue q;
1413
cl::sycl::context cxt = q.get_context();
1514
cl::sycl::device dev = q.get_device();
1615

17-
cl::sycl::context cxt2 { dev };
16+
cl::sycl::context cxt2{dev};
1817
cl::sycl::context cxt3 = dev; // expected-error {{no viable conversion from 'cl::sycl::device' to 'cl::sycl::context'}}
1918

20-
cl::sycl::queue q2 { dev };
19+
cl::sycl::queue q2{dev};
2120
cl::sycl::queue q3 = dev; // expected-error {{no viable conversion from 'cl::sycl::device' to 'cl::sycl::queue'}}
2221
}

0 commit comments

Comments
 (0)