[NFC][clang-tidy] Fixes comment typos.
authorMark de Wever <koraq@xs4all.nl>
Sat, 5 Dec 2020 15:31:16 +0000 (16:31 +0100)
committerMark de Wever <koraq@xs4all.nl>
Sat, 5 Dec 2020 15:31:16 +0000 (16:31 +0100)
clang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.cpp

index 555f8e1..f776621 100644 (file)
@@ -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));