summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-06-30 13:43:04 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-06-30 13:43:04 +0000
commitae82987cf8f64baafeff49e0446252d0f5db0268 (patch)
tree58aa17057063d1290666c075dae62dc86ab9ef5f
parentad9eb0d79decb3c875073f625a38aee2df3d94b3 (diff)
downloadbcm5719-llvm-ae82987cf8f64baafeff49e0446252d0f5db0268.tar.gz
bcm5719-llvm-ae82987cf8f64baafeff49e0446252d0f5db0268.zip
Fixing a few typos in the documentation.
llvm-svn: 212039
-rw-r--r--clang/include/clang/Basic/AttrDocs.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index 69513728fa0..947c9ba0149 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -167,7 +167,7 @@ the type.
The enable_if expression is evaluated as if it were the body of a
bool-returning constexpr function declared with the arguments of the function
-it is being applied to, then called with the parameters at the callsite. If the
+it is being applied to, then called with the parameters at the call site. If the
result is false or could not be determined through constant expression
evaluation, then this overload will not be chosen and the provided string may
be used in a diagnostic if the compile fails as a result.
@@ -634,7 +634,7 @@ def SetTypestateDocs : Documentation {
let Category = DocCatConsumed;
let Content = [{
Annotate methods that transition an object into a new state with
-``__attribute__((set_typestate(new_state)))``. The new new state must be
+``__attribute__((set_typestate(new_state)))``. The new state must be
unconsumed, consumed, or unknown.
}];
}
@@ -912,7 +912,7 @@ Clang implements two kinds of checks with this attribute.
Clang implements this mostly the same way as GCC, but there is a difference
for functions that accept a ``va_list`` argument (for example, ``vprintf``).
GCC does not emit ``-Wformat-nonliteral`` warning for calls to such
- fuctions. Clang does not warn if the format string comes from a function
+ functions. Clang does not warn if the format string comes from a function
parameter, where the function is annotated with a compatible attribute,
otherwise it warns. For example:
OpenPOWER on IntegriCloud