[clang][NFCI] Fix random typos
authorJan Korous <jkorous@apple.com>
Tue, 23 Jul 2019 16:54:11 +0000 (16:54 +0000)
committerJan Korous <jkorous@apple.com>
Tue, 23 Jul 2019 16:54:11 +0000 (16:54 +0000)
llvm-svn: 366823

clang/include/clang/ASTMatchers/ASTMatchersInternal.h
clang/lib/Index/IndexSymbol.cpp
clang/lib/Sema/SemaExprCXX.cpp

index b1bb0bf..32e2973 100644 (file)
@@ -1315,7 +1315,7 @@ class ForEachMatcher : public WrapperMatcherInterface<T> {
 ///
 /// Input matchers can have any type (including other polymorphic matcher
 /// types), and the actual Matcher<T> is generated on demand with an implicit
-/// coversion operator.
+/// conversion operator.
 template <typename... Ps> class VariadicOperatorMatcher {
 public:
   VariadicOperatorMatcher(DynTypedMatcher::VariadicOperator Op, Ps &&... Params)
index 064f3ae..5165567 100644 (file)
@@ -513,7 +513,7 @@ StringRef index::getSymbolKindString(SymbolKind K) {
   case SymbolKind::StaticProperty: return "static-property";
   case SymbolKind::Constructor: return "constructor";
   case SymbolKind::Destructor: return "destructor";
-  case SymbolKind::ConversionFunction: return "coversion-func";
+  case SymbolKind::ConversionFunction: return "conversion-func";
   case SymbolKind::Parameter: return "param";
   case SymbolKind::Using: return "using";
   }
index 705e3b9..8f882e4 100644 (file)
@@ -7173,7 +7173,7 @@ ExprResult Sema::BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl,
 
   if (Method->getParent()->isLambda() &&
       Method->getConversionType()->isBlockPointerType()) {
-    // This is a lambda coversion to block pointer; check if the argument
+    // This is a lambda conversion to block pointer; check if the argument
     // was a LambdaExpr.
     Expr *SubE = E;
     CastExpr *CE = dyn_cast<CastExpr>(SubE);