Skip to content

Commit 48d445a

Browse files
lknknmLucas Mellonelknknm
authored
[clang][www] Documentation revision and proof read for features.html (#156620)
This is mostly just a small proof read for the https://clang.llvm.org/features.html documentation page. The changes include some typo fixes and suggestions I've found would be useful. --------- Co-authored-by: Lucas Mellone <[email protected]> Co-authored-by: lknknm <[email protected]>
1 parent 44b7795 commit 48d445a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

clang/www/features.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h1>Clang - Features and Goals</h1>
2828
<p>End-User Features:</p>
2929

3030
<ul>
31-
<li><a href="#performance">Fast compiles and low memory use</a></li>
31+
<li><a href="#performance">Fast compilation and low memory use</a></li>
3232
<li><a href="#expressivediags">Expressive diagnostics</a></li>
3333
<li><a href="#gcccompat">GCC compatibility</a></li>
3434
</ul>
@@ -39,7 +39,7 @@ <h1>Clang - Features and Goals</h1>
3939
<li><a href="#libraryarch">Library based architecture</a></li>
4040
<li><a href="#diverseclients">Support diverse clients</a></li>
4141
<li><a href="#ideintegration">Integration with IDEs</a></li>
42-
<li><a href="#license">Use the LLVM 'BSD' License</a></li>
42+
<li><a href="#license">Use the LLVM 'Apache 2' License</a></li>
4343
</ul>
4444

4545
<p>Internal Design and Implementation:</p>
@@ -59,7 +59,7 @@ <h2><a name="enduser">End-User Features</a></h2>
5959

6060

6161
<!--=======================================================================-->
62-
<h3><a name="performance">Fast compiles and Low Memory Use</a></h3>
62+
<h3><a name="performance">Fast compilation and Low Memory Use</a></h3>
6363
<!--=======================================================================-->
6464

6565
<p>A major focus of our work on clang is to make it fast, light and scalable.
@@ -156,7 +156,7 @@ <h3><a name="libraryarch">Library Based Architecture</a></h3>
156156
any specific client."</p></blockquote>
157157

158158
<p>
159-
Currently, clang is divided into the following libraries and tool:
159+
Currently, clang is divided into the following libraries and tools:
160160
</p>
161161

162162
<ul>
@@ -183,7 +183,7 @@ <h3><a name="libraryarch">Library Based Architecture</a></h3>
183183
levels.</li>
184184
</ul>
185185

186-
<p>As an example of the power of this library based design.... If you wanted to
186+
<p>Some examples of the power of this library based design are: If you wanted to
187187
build a preprocessor, you would take the Basic and Lexer libraries. If you want
188188
an indexer, you would take the previous two and add the Parser library and
189189
some actions for indexing. If you want a refactoring, static analysis, or
@@ -208,7 +208,7 @@ <h3><a name="diverseclients">Support Diverse Clients</a></h3>
208208
<p>The problem with this goal is that different clients have very different
209209
requirements. Consider code generation, for example: a simple front-end that
210210
parses for code generation must analyze the code for validity and emit code
211-
in some intermediate form to pass off to a optimizer or backend. Because
211+
in some intermediate form to pass off to an optimizer or backend. Because
212212
validity analysis and code generation can largely be done on the fly, there is
213213
not hard requirement that the front-end actually build up a full AST for all
214214
the expressions and statements in the code. TCC and GCC are examples of
@@ -246,7 +246,7 @@ <h3 id="ideintegration">Integration with IDEs</h3>
246246
<!--=======================================================================-->
247247

248248
<p>
249-
We believe that Integrated Development Environments (IDE's) are a great way
249+
We believe that Integrated Development Environments (IDEs) are a great way
250250
to pull together various pieces of the development puzzle, and aim to make clang
251251
work well in such an environment. The chief advantage of an IDE is that they
252252
typically have visibility across your entire project and are long-lived
@@ -349,7 +349,7 @@ <h3><a name="conformance">Conformance with C/C++/ObjC and their
349349
variants</a></h3>
350350
<!--=======================================================================-->
351351

352-
<p>When you start work on implementing a language, you find out that there is a
352+
<p>When you begin implementing a language, you find out that there is a
353353
huge gap between how the language works and how most people understand it to
354354
work. This gap is the difference between a normal programmer and a (scary?
355355
super-natural?) "language lawyer", who knows the ins and outs of the language

0 commit comments

Comments
 (0)