@@ -523,7 +523,7 @@ class FindPFWGLambdaFnVisitor
523
523
const int NumPFWGLambdaArgs = 2 ; // group and lambda obj
524
524
if (Call->getNumArgs () != NumPFWGLambdaArgs)
525
525
return true ;
526
- if (!Util::isSyclType (Call->getArg (1 )->getType (), " group" , true /* tmpl */ ))
526
+ if (!Util::isSyclType (Call->getArg (1 )->getType (), " group" , true /* Tmpl */ ))
527
527
return true ;
528
528
if (Call->getArg (0 )->getType ()->getAsCXXRecordDecl () != LambdaObjTy)
529
529
return true ;
@@ -766,7 +766,7 @@ template <typename Derived> class SyclKernelFieldHandler {
766
766
SyclKernelFieldHandler (Sema &S) : SemaRef(S) {}
767
767
768
768
public:
769
- // Mark these virutal so that we can use override in the implementer classes,
769
+ // Mark these virtual so that we can use override in the implementer classes,
770
770
// despite virtual dispatch never being used.
771
771
772
772
// Accessor can be a base class or a field decl, so both must be handled.
@@ -794,7 +794,7 @@ template <typename Derived> class SyclKernelFieldHandler {
794
794
virtual void leaveStruct (const CXXRecordDecl *, const CXXBaseSpecifier &) {}
795
795
};
796
796
797
- // A type to check the valididty of all of the argument types.
797
+ // A type to check the validity of all of the argument types.
798
798
class SyclKernelFieldChecker
799
799
: public SyclKernelFieldHandler<SyclKernelFieldChecker> {
800
800
bool IsInvalid = false ;
@@ -900,7 +900,7 @@ class SyclKernelDeclCreator
900
900
901
901
static void setKernelImplicitAttrs (ASTContext &Context, FunctionDecl *FD,
902
902
StringRef Name) {
903
- // Set implict attributes.
903
+ // Set implicit attributes.
904
904
FD->addAttr (OpenCLKernelAttr::CreateImplicit (Context));
905
905
FD->addAttr (AsmLabelAttr::CreateImplicit (Context, Name));
906
906
FD->addAttr (ArtificialAttr::CreateImplicit (Context));
0 commit comments