[llvm-branch-commits] [clang-tools-extra] f687b4a - [NFC][clang-tidy] Fixes comment typos.

Mark de Wever via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Dec 5 07:36:53 PST 2020


Author: Mark de Wever
Date: 2020-12-05T16:31:16+01:00
New Revision: f687b4ac84a3f76ec850dccb675ac2b5c00f8661

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

LOG: [NFC][clang-tidy] Fixes comment typos.

Added: 
    

Modified: 
    clang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.cpp b/clang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.cpp
index 555f8e11dff9..f776621e3339 100644
--- a/clang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.cpp
+++ b/clang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.cpp
@@ -84,14 +84,14 @@ void SignedCharMisuseCheck::registerMatchers(MatchFinder *Finder) {
   const auto UnSignedCharCastExpr =
       charCastExpression(false, IntegerType, "unsignedCastExpression");
 
-  // Catch assignments with singed char -> integer conversion.
+  // Catch assignments with signed char -> integer conversion.
   const auto AssignmentOperatorExpr =
       expr(binaryOperator(hasOperatorName("="), hasLHS(hasType(IntegerType)),
                           hasRHS(SignedCharCastExpr)));
 
   Finder->addMatcher(AssignmentOperatorExpr, this);
 
-  // Catch declarations with singed char -> integer conversion.
+  // Catch declarations with signed char -> integer conversion.
   const auto Declaration = varDecl(isDefinition(), hasType(IntegerType),
                                    hasInitializer(SignedCharCastExpr));
 


        


More information about the llvm-branch-commits mailing list