Skip to content

Commit c779855

Browse files
Remove unused function parameter.
1 parent 91dcdbb commit c779855

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13500,7 +13500,7 @@ class Sema final {
1350013500
bool IsMemberFunction, SourceLocation Loc, SourceRange Range,
1350113501
VariadicCallType CallType);
1350213502

13503-
void CheckSYCLKernelCall(FunctionDecl *CallerFunc, SourceRange CallLoc,
13503+
void CheckSYCLKernelCall(FunctionDecl *CallerFunc,
1350413504
ArrayRef<const Expr *> Args);
1350513505

1350613506
bool CheckObjCString(Expr *Arg);

clang/lib/Sema/SemaChecking.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5967,7 +5967,7 @@ void Sema::checkCall(NamedDecl *FDecl, const FunctionProtoType *Proto,
59675967
diagnoseArgDependentDiagnoseIfAttrs(FD, ThisArg, Args, Loc);
59685968

59695969
if (FD && FD->hasAttr<SYCLKernelAttr>())
5970-
CheckSYCLKernelCall(FD, Range, Args);
5970+
CheckSYCLKernelCall(FD, Args);
59715971

59725972
// Diagnose variadic calls in SYCL.
59735973
if (FD && FD->isVariadic() && getLangOpts().SYCLIsDevice &&

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3451,7 +3451,7 @@ class SYCLKernelNameTypeVisitor
34513451
}
34523452
};
34533453

3454-
void Sema::CheckSYCLKernelCall(FunctionDecl *KernelFunc, SourceRange CallLoc,
3454+
void Sema::CheckSYCLKernelCall(FunctionDecl *KernelFunc,
34553455
ArrayRef<const Expr *> Args) {
34563456
QualType KernelNameType =
34573457
calculateKernelNameType(getASTContext(), KernelFunc);

0 commit comments

Comments
 (0)