[clang-tools-extra] 4454a9c - [NFC] Fix typo in comment

Nathan James via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 2 21:18:14 PST 2021


Author: Nathan James
Date: 2021-02-03T05:18:07Z
New Revision: 4454a9cd77e7481f6a2d75b4986fe7fbc364204d

URL: https://github.com/llvm/llvm-project/commit/4454a9cd77e7481f6a2d75b4986fe7fbc364204d
DIFF: https://github.com/llvm/llvm-project/commit/4454a9cd77e7481f6a2d75b4986fe7fbc364204d.diff

LOG: [NFC] Fix typo in comment

Added: 
    

Modified: 
    clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp b/clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
index 57ee992e64ba..fccff502e183 100644
--- a/clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
+++ b/clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
@@ -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;


        


More information about the cfe-commits mailing list