diff options
author | Alexander Kornienko <alexfh@google.com> | 2018-04-06 15:14:32 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2018-04-06 15:14:32 +0000 |
commit | 2a8c18d99118827ff752cc8952a2096f33715f31 (patch) | |
tree | 5fbe7871948cb2c241487ca9ee86159891d67b64 /clang/docs | |
parent | ad768585ff488cf01588b2d0caa1f95260031cdc (diff) | |
download | bcm5719-llvm-2a8c18d99118827ff752cc8952a2096f33715f31.tar.gz bcm5719-llvm-2a8c18d99118827ff752cc8952a2096f33715f31.zip |
Fix typos in clang
Found via codespell -q 3 -I ../clang-whitelist.txt
Where whitelist consists of:
archtype
cas
classs
checkk
compres
definit
frome
iff
inteval
ith
lod
methode
nd
optin
ot
pres
statics
te
thru
Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few
files that have dubious fixes reverted.)
Differential revision: https://reviews.llvm.org/D44188
llvm-svn: 329399
Diffstat (limited to 'clang/docs')
-rw-r--r-- | clang/docs/LibASTMatchersReference.html | 2 | ||||
-rw-r--r-- | clang/docs/analyzer/DesignDiscussions/InitializerLists.rst | 2 | ||||
-rw-r--r-- | clang/docs/doxygen.cfg.in | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index 28f8d900eb8..ada1b1ee4f5 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -4557,7 +4557,7 @@ matcher, or is a pointer to a type that matches the InnerMatcher. <tr><td>Matcher<<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>></td><td class="name" onclick="toggle('forEachOverridden0')"><a name="forEachOverridden0Anchor">forEachOverridden</a></td><td>Matcher<<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>> InnerMatcher</td></tr> -<tr><td colspan="4" class="doc" id="forEachOverridden0"><pre>Matches each method overriden by the given method. This matcher may +<tr><td colspan="4" class="doc" id="forEachOverridden0"><pre>Matches each method overridden by the given method. This matcher may produce multiple matches. Given diff --git a/clang/docs/analyzer/DesignDiscussions/InitializerLists.rst b/clang/docs/analyzer/DesignDiscussions/InitializerLists.rst index b826547bf12..af41e4ec8f0 100644 --- a/clang/docs/analyzer/DesignDiscussions/InitializerLists.rst +++ b/clang/docs/analyzer/DesignDiscussions/InitializerLists.rst @@ -21,7 +21,7 @@ This fix is overly conservative though. So i did a bit of investigation as to how model std::initializer_list better. According to the standard, std::initializer_list<T> is an object that has -methods begin(), end(), and size(), where begin() returns a pointer to continous +methods begin(), end(), and size(), where begin() returns a pointer to continuous array of size() objects of type T, and end() is equal to begin() plus size(). The standard does hint that it should be possible to implement std::initializer_list<T> as a pair of pointers, or as a pointer and a size diff --git a/clang/docs/doxygen.cfg.in b/clang/docs/doxygen.cfg.in index 08f4253d851..0e267690a76 100644 --- a/clang/docs/doxygen.cfg.in +++ b/clang/docs/doxygen.cfg.in @@ -1065,7 +1065,7 @@ HTML_STYLESHEET = # defined cascading style sheet that is included after the standard style sheets # created by doxygen. Using this option one can overrule certain style aspects. # This is preferred over using HTML_STYLESHEET since it does not replace the -# standard style sheet and is therefor more robust against future updates. +# standard style sheet and is therefore more robust against future updates. # Doxygen will copy the style sheet file to the output directory. For an example # see the documentation. # This tag requires that the tag GENERATE_HTML is set to YES. |