]> granicus.if.org Git - clang/commitdiff
Fix some grammar errors.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 11 Jul 2013 00:34:42 +0000 (00:34 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 11 Jul 2013 00:34:42 +0000 (00:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186048 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LanguageExtensions.rst

index 928b09524b2e50d78fb59b536b936bf5fae4ad50..d7f46b5f15d89fea57ccead9986db4914b715904 100644 (file)
@@ -1961,11 +1961,11 @@ Type Safety Checking
 ====================
 
 Clang supports additional attributes to enable checking type safety properties
-that can't be enforced by C type system.  Usecases include:
+that can't be enforced by the C type system.  Use cases include:
 
 * MPI library implementations, where these attributes enable checking that
-  buffer type matches the passed ``MPI_Datatype``;
-* for HDF5 library there is a similar usecase as MPI;
+  the buffer type matches the passed ``MPI_Datatype``;
+* for HDF5 library there is a similar use case to MPI;
 * checking types of variadic functions' arguments for functions like
   ``fcntl()`` and ``ioctl()``.
 
@@ -2000,7 +2000,7 @@ accepts a type tag that determines the type of some other argument.
 applicable type tags.
 
 This attribute is primarily useful for checking arguments of variadic functions
-(``pointer_with_type_tag`` can be used in most of non-variadic cases).
+(``pointer_with_type_tag`` can be used in most non-variadic cases).
 
 For example: