summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-04-30 18:50:03 +0000
committerReid Kleckner <reid@kleckner.net>2014-04-30 18:50:03 +0000
commitf1dccebe6a35bf07f8bb218ef25917a8bcc1a33a (patch)
tree3cab87cfaff6afb206c2d01c701d0cec0082cc26 /clang
parent98dccb109bc910597683a179281f73f5b9c65c78 (diff)
downloadbcm5719-llvm-f1dccebe6a35bf07f8bb218ef25917a8bcc1a33a.tar.gz
bcm5719-llvm-f1dccebe6a35bf07f8bb218ef25917a8bcc1a33a.zip
Fix typos in carries_dependency docs
llvm-svn: 207686
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Basic/AttrDocs.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index 7e923af812f..7f057d0bf5e 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -56,14 +56,14 @@ def CarriesDependencyDocs : Documentation {
The ``carries_dependency`` attribute specifies dependency propagation into and
out of functions.
-When specified on a function or Objective-C method, the ``carries_depedency``
+When specified on a function or Objective-C method, the ``carries_dependency``
attribute means that the return value carries a dependency out of the function,
so that the implementation need not constrain ordering upon return from that
function. Implementations of the function and its caller may choose to preserve
dependencies instead of emitting memory ordering instructions such as fences.
Note, this attribute does not change the meaning of the program, but may result
-in generatation of more efficient code.
+in generation of more efficient code.
}];
}
OpenPOWER on IntegriCloud