r207686 - Fix typos in carries_dependency docs
Reid Kleckner
reid at kleckner.net
Wed Apr 30 11:50:03 PDT 2014
Author: rnk
Date: Wed Apr 30 13:50:03 2014
New Revision: 207686
URL: http://llvm.org/viewvc/llvm-project?rev=207686&view=rev
Log:
Fix typos in carries_dependency docs
Modified:
cfe/trunk/include/clang/Basic/AttrDocs.td
Modified: cfe/trunk/include/clang/Basic/AttrDocs.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/AttrDocs.td?rev=207686&r1=207685&r2=207686&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/AttrDocs.td (original)
+++ cfe/trunk/include/clang/Basic/AttrDocs.td Wed Apr 30 13:50:03 2014
@@ -56,14 +56,14 @@ def CarriesDependencyDocs : Documentatio
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.
}];
}
More information about the cfe-commits
mailing list