summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-06-13 14:24:16 +0000
committerTim Northover <tnorthover@apple.com>2014-06-13 14:24:16 +0000
commitab47c159b00f2c0e8613dbd0480e6368811067af (patch)
tree424630a1a2fdfa29ca871327dbfcd9fdaff1f7d6 /docs
parent8f2a85e0995a5bb2943bf9c5021950beaf48265e (diff)
downloadllvm-ab47c159b00f2c0e8613dbd0480e6368811067af.tar.gz
llvm-ab47c159b00f2c0e8613dbd0480e6368811067af.tar.bz2
llvm-ab47c159b00f2c0e8613dbd0480e6368811067af.tar.xz
Docs: fix grammar error in description
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index 8958505e9d..80bcb53a82 100644
--- a/docs/LangRef.rst
+++ b/docs/LangRef.rst
@@ -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