fix some comment typos to cycle bots
authorNico Weber <thakis@chromium.org>
Fri, 14 Feb 2020 20:18:50 +0000 (15:18 -0500)
committerNico Weber <thakis@chromium.org>
Fri, 14 Feb 2020 20:18:50 +0000 (15:18 -0500)
clang/include/clang-c/BuildSystem.h
clang/include/clang-c/Index.h
clang/include/clang/AST/DeclObjC.h

index 4e9f6de..296e612 100644 (file)
@@ -117,7 +117,7 @@ clang_ModuleMapDescriptor_setFrameworkModuleName(CXModuleMapDescriptor,
                                                  const char *name);
 
 /**
- * Sets the umbrealla header name that the module.map describes.
+ * Sets the umbrella header name that the module.map describes.
  * \returns 0 for success, non-zero to indicate an error.
  */
 CINDEX_LINKAGE enum CXErrorCode
index b653995..efb96f3 100644 (file)
@@ -3745,7 +3745,7 @@ CINDEX_LINKAGE unsigned clang_Type_getNumObjCProtocolRefs(CXType T);
 CINDEX_LINKAGE CXCursor clang_Type_getObjCProtocolDecl(CXType T, unsigned i);
 
 /**
- * Retreive the number of type arguments associated with an ObjC object.
+ * Retrieve the number of type arguments associated with an ObjC object.
  *
  * If the type is not an ObjC object, 0 is returned.
  */
index 73dc4dd..954b9bc 100644 (file)
@@ -402,7 +402,7 @@ public:
   }
 
   /// createImplicitParams - Used to lazily create the self and cmd
-  /// implict parameters. This must be called prior to using getSelfDecl()
+  /// implicit parameters. This must be called prior to using getSelfDecl()
   /// or getCmdDecl(). The call is ignored if the implicit parameters
   /// have already been created.
   void createImplicitParams(ASTContext &Context, const ObjCInterfaceDecl *ID);