summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2018-04-06 15:14:32 +0000
committerAlexander Kornienko <alexfh@google.com>2018-04-06 15:14:32 +0000
commitb8b9458165ad22218c8d864a623bd23847d4807a (patch)
treebdb43c773d7cea723e8c80b4d0c11a7b8b93a619 /www
parent0a1726abd9544637fd9015e68b6638a552533649 (diff)
downloadclang-b8b9458165ad22218c8d864a623bd23847d4807a.tar.gz
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www')
-rw-r--r--www/OpenProjects.html2
-rw-r--r--www/analyzer/alpha_checks.html6
-rw-r--r--www/analyzer/available_checks.html2
-rw-r--r--www/diagnostics.html2
-rw-r--r--www/features.html2
-rw-r--r--www/get_involved.html2
6 files changed, 8 insertions, 8 deletions
diff --git a/www/OpenProjects.html b/www/OpenProjects.html
index ad1890997b..9d8f4df955 100644
--- a/www/OpenProjects.html
+++ b/www/OpenProjects.html
@@ -102,7 +102,7 @@ Driver</a> web page for more information.</li>
<li><b>Configuration Manager</b>: Clang/LLVM works on a large number of
architectures and operating systems and can cross-compile to a similarly large
-number of configurations, but the pitfalls of chosing the command-line
+number of configurations, but the pitfalls of choosing the command-line
options, making sure the right sub-architecture is chosen and that the correct
optional elements of your particular system can be a pain.
diff --git a/www/analyzer/alpha_checks.html b/www/analyzer/alpha_checks.html
index eccdcaacc2..4a250dcb31 100644
--- a/www/analyzer/alpha_checks.html
+++ b/www/analyzer/alpha_checks.html
@@ -551,12 +551,12 @@ when generating localized strings.
NSString *reminderText =
NSLocalizedString(@"None", @"Indicates no reminders");
if (reminderCount == 1) {
- // Warning: Plural cases are not supported accross all languages.
+ // Warning: Plural cases are not supported across all languages.
// Use a .stringsdict file instead
reminderText =
NSLocalizedString(@"1 Reminder", @"Indicates single reminder");
} else if (reminderCount >= 2) {
- // Warning: Plural cases are not supported accross all languages.
+ // Warning: Plural cases are not supported across all languages.
// Use a .stringsdict file instead
reminderText =
[NSString stringWithFormat:
@@ -712,7 +712,7 @@ void test() {
size_t ts;
scanf("%zd", &ts); // 'ts' marked as tainted
int *p = (int *)malloc(ts * sizeof(int));
- // warn: untrusted data as bufer size
+ // warn: untrusted data as buffer size
}
</pre></div></div></td></tr>
diff --git a/www/analyzer/available_checks.html b/www/analyzer/available_checks.html
index eca8dca616..b9c7846aa2 100644
--- a/www/analyzer/available_checks.html
+++ b/www/analyzer/available_checks.html
@@ -316,7 +316,7 @@ Check for assigning uninitialized values.</div></div></td>
<div class="example"><pre>
void test() {
int x;
- x |= 1; // warn: left expression is unitialized
+ x |= 1; // warn: left expression is uninitialized
}
</pre></div></div></td></tr>
diff --git a/www/diagnostics.html b/www/diagnostics.html
index 00a3f9a9f6..2c9c791361 100644
--- a/www/diagnostics.html
+++ b/www/diagnostics.html
@@ -231,7 +231,7 @@ diagnostic.<p>
<h2>Template Type Diffing</h2>
-<p>Templates types can be long and difficult to read. Moreso when part of an
+<p>Templates types can be long and difficult to read. More so when part of an
error message. Instead of just printing out the type name, Clang has enough
information to remove the common elements and highlight the differences. To
show the template structure more clearly, the templated type can also be
diff --git a/www/features.html b/www/features.html
index 8a1c856cd1..8fe1209e12 100644
--- a/www/features.html
+++ b/www/features.html
@@ -68,7 +68,7 @@ profile the cost of each layer of the stack, and the driver has a number of
options for performance analysis. Many detailed benchmarks can be found online.</p>
<p>Compile time performance is important, but when using clang as an API, often
-memory use is even moreso: the less memory the code takes the more code you can
+memory use is even more so: the less memory the code takes the more code you can
fit into memory at a time (useful for whole program analysis tools, for
example).</p>
diff --git a/www/get_involved.html b/www/get_involved.html
index fdd6b8f33c..27427cc55d 100644
--- a/www/get_involved.html
+++ b/www/get_involved.html
@@ -76,7 +76,7 @@ extensions may propose that the extensions become a part of Clang
itself, to benefit the whole Clang community. But not every idea--not
even every great idea--should become part of Clang. Extensions
(particularly language extensions) pose a long-term maintenance burden
-on Clang, and therefore the benefits of the extension must outweight
+on Clang, and therefore the benefits of the extension must outweigh
those costs. Hence, these are the seven criteria used to evaluate the
merits of a proposed extension:</p>