Skip to content

Commit 1a0898f

Browse files
committed
Squash; Fix clang-format complaints. Again.
1 parent c0044ab commit 1a0898f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ void SemaSYCL::CheckSYCLEntryPointFunctionDecl(FunctionDecl *FD) {
339339
diag::err_sycl_entry_point_deduced_return_type);
340340
SKEPAttr->setInvalidAttr();
341341
} else if (!FD->getReturnType()->isDependentType() &&
342-
!FD->getReturnType()->isVoidType()) {
342+
!FD->getReturnType()->isVoidType()) {
343343
Diag(SKEPAttr->getLocation(), diag::err_sycl_entry_point_return_type);
344344
SKEPAttr->setInvalidAttr();
345345
}

0 commit comments

Comments
 (0)