Skip to content

Commit def5f8f

Browse files
committed
fix format issues
Signed-off-by: Soumi Manna <[email protected]>
1 parent fcc5de0 commit def5f8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,8 @@ static void collectSYCLAttributes(Sema &S, FunctionDecl *FD,
561561
// In SYCL 1.2.1 mode, the attributes are propagated from the function they
562562
// are applied to onto the kernel which calls the function.
563563
// In SYCL 2020 mode, the attributes are not propagated to the kernel.
564-
if (DirectlyCalled ||
565-
S.getASTContext().getLangOpts().getSYCLVersion() < LangOptions::SYCL_2020) {
564+
if (DirectlyCalled || S.getASTContext().getLangOpts().getSYCLVersion() <
565+
LangOptions::SYCL_2020) {
566566
llvm::copy_if(FD->getAttrs(), std::back_inserter(Attrs), [](Attr *A) {
567567
// FIXME: Make this list self-adapt as new SYCL attributes are added.
568568
return isa<IntelReqdSubGroupSizeAttr, IntelNamedSubGroupSizeAttr,

0 commit comments

Comments
 (0)