Skip to content

Commit 034431a

Browse files
author
John Criswell
committed
Minor typo corrections.
llvm-svn: 18704
1 parent b0a4fa1 commit 034431a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

llvm/docs/LangRef.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -801,18 +801,18 @@ <h5>Examples:</h5>
801801

802802
<dd>Floating point constants use standard decimal notation (e.g. 123.421),
803803
exponential notation (e.g. 1.23421e+2), or a more precise hexadecimal
804-
notation. etc. Floating point constants have an optional hexadecimal
804+
notation. Floating point constants have an optional hexadecimal
805805
notation (see below). Floating point constants must have a <a
806806
href="#t_floating">floating point</a> type. </dd>
807807

808808
<dt><b>Null pointer constants</b></dt>
809809

810-
<dd>The identifier '<tt>null</tt>' is recognized as a null pointer constant,
810+
<dd>The identifier '<tt>null</tt>' is recognized as a null pointer constant
811811
and must be of <a href="#t_pointer">pointer type</a>.</dd>
812812

813813
</dl>
814814

815-
<p>The one non-intuitive notation for constants is the optional hexidecimal form
815+
<p>The one non-intuitive notation for constants is the optional hexadecimal form
816816
of floating point constants. For example, the form '<tt>double
817817
0x432ff973cafa8000</tt>' is equivalent to (but harder to read than) '<tt>double
818818
4.5e+15</tt>'. The only time hexadecimal floating point constants are required
@@ -835,7 +835,7 @@ <h5>Examples:</h5>
835835

836836
<dd>Structure constants are represented with notation similar to structure
837837
type definitions (a comma separated list of elements, surrounded by braces
838-
(<tt>{}</tt>). For example: "<tt>{ int 4, float 17.0 }</tt>". Structure
838+
(<tt>{}</tt>)). For example: "<tt>{ int 4, float 17.0 }</tt>". Structure
839839
constants must have <a href="#t_struct">structure type</a>, and the number and
840840
types of elements must match those specified by the type.
841841
</dd>
@@ -844,7 +844,7 @@ <h5>Examples:</h5>
844844

845845
<dd>Array constants are represented with notation similar to array type
846846
definitions (a comma separated list of elements, surrounded by square brackets
847-
(<tt>[]</tt>). For example: "<tt>[ int 42, int 11, int 74 ]</tt>". Array
847+
(<tt>[]</tt>)). For example: "<tt>[ int 42, int 11, int 74 ]</tt>". Array
848848
constants must have <a href="#t_array">array type</a>, and the number and
849849
types of elements must match those specified by the type.
850850
</dd>
@@ -853,7 +853,7 @@ <h5>Examples:</h5>
853853

854854
<dd>Packed constants are represented with notation similar to packed type
855855
definitions (a comma separated list of elements, surrounded by
856-
less-than/greater-than's (<tt>&lt;&gt;</tt>). For example: "<tt>&lt; int 42,
856+
less-than/greater-than's (<tt>&lt;&gt;</tt>)). For example: "<tt>&lt; int 42,
857857
int 11, int 74, int 100 &gt;</tt>". Packed constants must have <a
858858
href="#t_packed">packed type</a>, and the number and types of elements must
859859
match those specified by the type.
@@ -880,8 +880,8 @@ <h5>Examples:</h5>
880880

881881
<p>The addresses of <a href="#globalvars">global variables</a> and <a
882882
href="#functionstructure">functions</a> are always implicitly valid (link-time)
883-
constants. These constants explicitly referenced when the <a
884-
href="#identifiers">identifier for the global</a> is used, and always have <a
883+
constants. These constants are explicitly referenced when the <a
884+
href="#identifiers">identifier for the global</a> is used and always have <a
885885
href="#t_pointer">pointer</a> type. For example, the following is a legal LLVM
886886
file:</p>
887887

@@ -903,8 +903,8 @@ <h5>Examples:</h5>
903903
value. Undefined values may be of any type, and be used anywhere a constant
904904
is.</p>
905905

906-
<p>Undefined values are used to indicate the compiler that the program is well
907-
defined no matter what value is used, giving it more freedom.</p>
906+
<p>Undefined values are used to indicate to the compiler that the program is
907+
well defined no matter what value is used, giving it more freedom.</p>
908908

909909
</div>
910910

@@ -2309,7 +2309,7 @@ <h5>Syntax:</h5>
23092309

23102310
<h5>Overview:</h5>
23112311

2312-
<p>The '<tt>llvm.gcroot</tt>' intrinsic declares the existance of a GC root to
2312+
<p>The '<tt>llvm.gcroot</tt>' intrinsic declares the existence of a GC root to
23132313
the code generator, and allows some metadata to be associated with it.</p>
23142314

23152315
<h5>Arguments:</h5>

0 commit comments

Comments
 (0)