Skip to content

Commit adcd6f8

Browse files
committed
Fix clang-format issues.
1 parent 17fd987 commit adcd6f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang/lib/Sema/SemaDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3064,7 +3064,7 @@ static void checkNewAttributesAfterDef(Sema &S, Decl *New, const Decl *Old) {
30643064
// the semantic effects of the attribute having been applied.
30653065
S.Diag(NewAttribute->getLocation(),
30663066
diag::err_sycl_entry_point_after_definition)
3067-
<< NewAttribute;
3067+
<< NewAttribute;
30683068
S.Diag(Def->getLocation(), diag::note_previous_definition);
30693069
cast<SYCLKernelEntryPointAttr>(NewAttribute)->setInvalidAttr();
30703070
++I;

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ void SemaSYCL::CheckSYCLEntryPointFunctionDecl(FunctionDecl *FD) {
268268
} else {
269269
Diag(SAI->getLocation(),
270270
diag::warn_sycl_entry_point_redundant_declaration)
271-
<< SAI;
271+
<< SAI;
272272
Diag(SKEPAttr->getLocation(), diag::note_previous_attribute);
273273
}
274274
}
@@ -341,7 +341,7 @@ void SemaSYCL::CheckSYCLEntryPointFunctionDecl(FunctionDecl *FD) {
341341
if (FD->getReturnType()->isUndeducedType()) {
342342
Diag(SKEPAttr->getLocation(),
343343
diag::err_sycl_entry_point_deduced_return_type)
344-
<< SKEPAttr;
344+
<< SKEPAttr;
345345
SKEPAttr->setInvalidAttr();
346346
} else if (!FD->getReturnType()->isDependentType() &&
347347
!FD->getReturnType()->isVoidType()) {

0 commit comments

Comments
 (0)