diff --git a/clang/lib/Sema/SemaSYCL.cpp b/clang/lib/Sema/SemaSYCL.cpp --- a/clang/lib/Sema/SemaSYCL.cpp +++ b/clang/lib/Sema/SemaSYCL.cpp @@ -122,8 +122,8 @@ NeedToEmitNotes = false; } - // In case pointer/array/reference type is met get pointeetype, then proceed - // with that type. + // In case pointer/array/reference type is met get pointee type, then + // proceed with that type. while (NextTy->isAnyPointerType() || NextTy->isArrayType() || NextTy->isReferenceType()) { if (NextTy->isArrayType())