Skip to content

[SYCL][NFC] Remove unused code #2135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions clang/lib/Sema/SemaSYCL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -968,9 +968,6 @@ class SyclKernelFieldHandler {
virtual bool handleReferenceType(FieldDecl *, QualType) { return true; }
virtual bool handlePointerType(FieldDecl *, QualType) { return true; }
virtual bool handleArrayType(FieldDecl *, QualType) { return true; }
virtual bool handleScalarType(const CXXBaseSpecifier &, QualType) {
return true;
}
virtual bool handleScalarType(FieldDecl *, QualType) { return true; }
// Most handlers shouldn't be handling this, just the field checker.
virtual bool handleOtherType(FieldDecl *, QualType) { return true; }
Expand Down Expand Up @@ -1281,7 +1278,6 @@ class SyclKernelDeclCreator : public SyclKernelFieldHandler {
return ArrayRef<ParmVarDecl *>(std::begin(Params) + LastParamIndex,
std::end(Params));
}
using SyclKernelFieldHandler::handleScalarType;
using SyclKernelFieldHandler::handleSyclHalfType;
using SyclKernelFieldHandler::handleSyclSamplerType;
};
Expand Down Expand Up @@ -1688,7 +1684,6 @@ class SyclKernelBodyCreator : public SyclKernelFieldHandler {
using SyclKernelFieldHandler::enterArray;
using SyclKernelFieldHandler::enterField;
using SyclKernelFieldHandler::enterStruct;
using SyclKernelFieldHandler::handleScalarType;
using SyclKernelFieldHandler::handleSyclHalfType;
using SyclKernelFieldHandler::handleSyclSamplerType;
using SyclKernelFieldHandler::leaveField;
Expand Down Expand Up @@ -1841,7 +1836,6 @@ class SyclKernelIntHeaderCreator : public SyclKernelFieldHandler {
CurOffset -= ArraySize;
return true;
}
using SyclKernelFieldHandler::handleScalarType;
using SyclKernelFieldHandler::handleSyclHalfType;
using SyclKernelFieldHandler::handleSyclSamplerType;
};
Expand Down