summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-07-11 00:34:42 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-07-11 00:34:42 +0000
commit36ee4fc329540d9df91a19f84293c18641e9fc1c (patch)
treebad81c663ef844f0f0fcb5035b29cb82616644e9
parentccfc9ffcbe70c001d5c291e55f58841109a91d74 (diff)
downloadbcm5719-llvm-36ee4fc329540d9df91a19f84293c18641e9fc1c.tar.gz
bcm5719-llvm-36ee4fc329540d9df91a19f84293c18641e9fc1c.zip
Fix some grammar errors.
llvm-svn: 186048
-rw-r--r--clang/docs/LanguageExtensions.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index 928b09524b2..d7f46b5f15d 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/docs/LanguageExtensions.rst
@@ -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:
OpenPOWER on IntegriCloud