Docs: fix grammar error in description
authorTim Northover <tnorthover@apple.com>
Fri, 13 Jun 2014 14:24:16 +0000 (14:24 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 13 Jun 2014 14:24:16 +0000 (14:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210904 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.rst

index 8958505e9d58b8e4767bbd74f94373a29588708b..80bcb53a829653b3e5ad31fe3437e19e9b11060c 100644 (file)
@@ -5083,10 +5083,10 @@ to modify the number or order of execution of this ``cmpxchg`` with
 other :ref:`volatile operations <volatile>`.
 
 The success and failure :ref:`ordering <ordering>` arguments specify how this
-``cmpxchg`` synchronizes with other atomic operations. The both ordering
-parameters must be at least ``monotonic``, the ordering constraint on failure
-must be no stronger than that on success, and the failure ordering cannot be
-either ``release`` or ``acq_rel``.
+``cmpxchg`` synchronizes with other atomic operations. Both ordering parameters
+must be at least ``monotonic``, the ordering constraint on failure must be no
+stronger than that on success, and the failure ordering cannot be either
+``release`` or ``acq_rel``.
 
 The optional "``singlethread``" argument declares that the ``cmpxchg``
 is only atomic with respect to code (usually signal handlers) running in