[NFC] Fix typo in comment
authorNathan James <n.james93@hotmail.co.uk>
Wed, 3 Feb 2021 05:18:00 +0000 (05:18 +0000)
committerNathan James <n.james93@hotmail.co.uk>
Wed, 3 Feb 2021 05:18:07 +0000 (05:18 +0000)
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp

index 57ee992..fccff50 100644 (file)
@@ -352,7 +352,7 @@ static bool isParamInMainLikeFunction(const ParmVarDecl &ParmDecl,
     return false;
   if (FDecl->getAccess() != AS_public && FDecl->getAccess() != AS_none)
     return false;
-  // If the function doesn't have a name thats an identifier, can occur of the
+  // If the function doesn't have a name that's an identifier, can occur if the
   // function is an operator overload, bail out early.
   if (!FDecl->getDeclName().isIdentifier())
     return false;