[clang] 87e80e5 - fix some comment typos to cycle bots

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 14 12:18:56 PST 2020


Author: Nico Weber
Date: 2020-02-14T15:18:50-05:00
New Revision: 87e80e5e289249cb9c1b6ed0f9502434375335a9

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

LOG: fix some comment typos to cycle bots

Added: 
    

Modified: 
    clang/include/clang-c/BuildSystem.h
    clang/include/clang-c/Index.h
    clang/include/clang/AST/DeclObjC.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang-c/BuildSystem.h b/clang/include/clang-c/BuildSystem.h
index 4e9f6dee0279..296e61247cef 100644
--- a/clang/include/clang-c/BuildSystem.h
+++ b/clang/include/clang-c/BuildSystem.h
@@ -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

diff  --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index b653995ebbd0..efb96f3cc5b6 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -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.
  */

diff  --git a/clang/include/clang/AST/DeclObjC.h b/clang/include/clang/AST/DeclObjC.h
index 73dc4ddab898..954b9bc15789 100644
--- a/clang/include/clang/AST/DeclObjC.h
+++ b/clang/include/clang/AST/DeclObjC.h
@@ -402,7 +402,7 @@ class ObjCMethodDecl : public NamedDecl, public DeclContext {
   }
 
   /// 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);


        


More information about the cfe-commits mailing list