Skip to content

Commit da9bdd3

Browse files
committed
[SYCL][NFC] Remove code from comments.
Removed comments are redundant and complicate maintenance. Signed-off-by: Alexey Bader <alexey.bader@intel.com>
1 parent 2e48081 commit da9bdd3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/lib/Sema/SemaSYCL.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,6 @@ static void buildArgTys(ASTContext &Context, CXXRecordDecl *KernelObj,
809809
assert(InitMethod && "sampler must have __init method");
810810

811811
// sampler __init method has only one parameter
812-
// void __init(__ocl_sampler_t *Sampler)
813812
auto *FuncDecl = cast<FunctionDecl>(InitMethod);
814813
ParmVarDecl *SamplerArg = FuncDecl->getParamDecl(0);
815814
assert(SamplerArg && "sampler __init method must have sampler parameter");
@@ -912,7 +911,6 @@ static void populateIntHeader(SYCLIntegrationHeader &H, const StringRef Name,
912911
assert(InitMethod && "sampler must have __init method");
913912

914913
// sampler __init method has only one argument
915-
// void __init(__ocl_sampler_t *Sampler)
916914
auto *FuncDecl = cast<FunctionDecl>(InitMethod);
917915
ParmVarDecl *SamplerArg = FuncDecl->getParamDecl(0);
918916
assert(SamplerArg && "sampler __init method must have sampler parameter");

0 commit comments

Comments
 (0)