diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-08-17 17:13:42 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-08-17 17:13:42 +0000 |
| commit | 54a7be757be7c945a29d0c4075816c20d2f55f50 (patch) | |
| tree | d640e39eac61cc14acbedbbf48765dc3105fdcc4 /llvm/docs/LangRef.html | |
| parent | 941020ed729cdd37592caaf361939665491cd443 (diff) | |
| download | bcm5719-llvm-54a7be757be7c945a29d0c4075816c20d2f55f50.tar.gz bcm5719-llvm-54a7be757be7c945a29d0c4075816c20d2f55f50.zip | |
add some 's to a pre to avoid newlines being eaten
and the formatting being thrown off. I admit to not knowing
what is going on here.
llvm-svn: 111249
Diffstat (limited to 'llvm/docs/LangRef.html')
| -rw-r--r-- | llvm/docs/LangRef.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index ff707a45b60..2c38a6c55fc 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -491,20 +491,21 @@ the "hello world" module:</p> <pre class="doc_code"> -<i>; Declare the string constant as a global constant.</i> -<a href="#identifiers">@.LC0</a> = <a href="#linkage_internal">internal</a> <a href="#globalvars">constant</a> <a href="#t_array">[13 x i8]</a> c"hello world\0A\00" <i>; [13 x i8]*</i> +<i>; Declare the string constant as a global constant.</i> +<a href="#identifiers">@.LC0</a> = <a href="#linkage_internal">internal</a> <a href="#globalvars">constant</a> <a href="#t_array">[13 x i8]</a> c"hello world\0A\00" <i>; [13 x i8]*</i> -<i>; External declaration of the puts function</i> -<a href="#functionstructure">declare</a> i32 @puts(i8*) <i>; i32 (i8*)* </i> +<i>; External declaration of the puts function</i> +<a href="#functionstructure">declare</a> i32 @puts(i8*) <i>; i32 (i8*)* </i> <i>; Definition of main function</i> -define i32 @main() { <i>; i32()* </i> - <i>; Convert [13 x i8]* to i8 *...</i> - %cast210 = <a href="#i_getelementptr">getelementptr</a> [13 x i8]* @.LC0, i64 0, i64 0 <i>; i8*</i> +define i32 @main() { <i>; i32()* </i> + <i>; Convert [13 x i8]* to i8 *...</i> + %cast210 = <a href="#i_getelementptr">getelementptr</a> [13 x i8]* @.LC0, i64 0, i64 0 <i>; i8*</i> - <i>; Call puts function to write out the string to stdout.</i> - <a href="#i_call">call</a> i32 @puts(i8* %cast210) <i>; i32</i> - <a href="#i_ret">ret</a> i32 0<br>} + <i>; Call puts function to write out the string to stdout.</i> + <a href="#i_call">call</a> i32 @puts(i8* %cast210) <i>; i32</i> + <a href="#i_ret">ret</a> i32 0 +} <i>; Named metadata</i> !1 = metadata !{i32 41} |

