[llvm-commits] [llvm] r172741 - /llvm/trunk/docs/LangRef.rst
Daniel Dunbar
daniel at zuster.org
Thu Jan 17 10:57:33 PST 2013
Author: ddunbar
Date: Thu Jan 17 12:57:32 2013
New Revision: 172741
URL: http://llvm.org/viewvc/llvm-project?rev=172741&view=rev
Log:
[docs] Get rid of some UTF8 characters (non-breaking space maybe).
Modified:
llvm/trunk/docs/LangRef.rst
Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=172741&r1=172740&r2=172741&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Thu Jan 17 12:57:32 2013
@@ -148,20 +148,20 @@
.. code-block:: llvm
- ; Declare the string constant as a global constant.Â
- @.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00"Â
+ ; Declare the string constant as a global constant.
+ @.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00"
- ; External declaration of the puts functionÂ
- declare i32 @puts(i8* nocapture) nounwindÂ
+ ; External declaration of the puts function
+ declare i32 @puts(i8* nocapture) nounwind
; Definition of main function
- define i32 @main() { ; i32()* Â
- ; Convert [13 x i8]* to i8 *...Â
+ define i32 @main() { ; i32()*
+ ; Convert [13 x i8]* to i8 *...
%cast210 = getelementptr [13 x i8]* @.str, i64 0, i64 0
- ; Call puts function to write out the string to stdout.Â
+ ; Call puts function to write out the string to stdout.
call i32 @puts(i8* %cast210)
- ret i32 0Â
+ ret i32 0
}
; Named metadata
@@ -1554,7 +1554,7 @@
+---------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ``i32 (i32)`` | function taking an ``i32``, returning an ``i32`` |
+---------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``float (i16, i32 *) *`` | :ref:`Pointer <t_pointer>` to a function that takes an ``i16`` and a :ref:`pointer <t_pointer>` to ``i32``, returning ``float``. |
+| ``float (i16, i32 *) *`` | :ref:`Pointer <t_pointer>` to a function that takes an ``i16`` and a :ref:`pointer <t_pointer>` to ``i32``, returning ``float``. |
+---------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ``i32 (i8*, ...)`` | A vararg function that takes at least one :ref:`pointer <t_pointer>` to ``i8`` (char in C), which returns an integer. This is the signature for ``printf`` in LLVM. |
+---------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -1605,7 +1605,7 @@
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ``{ i32, i32, i32 }`` | A triple of three ``i32`` values |
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ``{ float, i32 (i32) * }`` | A pair, where the first element is a ``float`` and the second element is a :ref:`pointer <t_pointer>` to a :ref:`function <t_function>` that takes an ``i32``, returning an ``i32``. |
+| ``{ float, i32 (i32) * }`` | A pair, where the first element is a ``float`` and the second element is a :ref:`pointer <t_pointer>` to a :ref:`function <t_function>` that takes an ``i32``, returning an ``i32``. |
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ``<{ i8, i32 }>`` | A packed struct known to be 5 bytes in size. |
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -2578,25 +2578,25 @@
* - Key
- Value
- * - ``Objective-CÂ Version``
+ * - ``Objective-C Version``
- **[Required]** â The Objective-C ABI version. Valid values are 1 and 2.
- * - ``Objective-C Image Info Version``
+ * - ``Objective-C Image Info Version``
- **[Required]** â The version of the image info section. Currently
always 0.
- * - ``Objective-C Image Info Section``
+ * - ``Objective-C Image Info Section``
- **[Required]** â The section to place the metadata. Valid values are
``"__OBJC, __image_info, regular"`` for Objective-C ABI version 1, and
``"__DATA,__objc_imageinfo, regular, no_dead_strip"`` for
Objective-C ABI version 2.
- * - ``Objective-C Garbage Collection``
+ * - ``Objective-C Garbage Collection``
- **[Required]** â Specifies whether garbage collection is supported or
not. Valid values are 0, for no garbage collection, and 2, for garbage
collection supported.
- * - ``Objective-CÂ GCÂ Only``
+ * - ``Objective-C GC Only``
- **[Optional]** â Specifies that only garbage collection is supported.
If present, its value must be 6. This flag requires that the
``Objective-C Garbage Collection`` flag have the value 2.
@@ -2619,7 +2619,7 @@
these automatically be transmitted to the linker via object files.
These flags are encoded in the IR using metadata in the module flags section,
-using the ``Linker Options`` key. The merge behavior for this flag is required
+using the ``Linker Options`` key. The merge behavior for this flag is required
to be ``AppendUnique``, and the value for the key is expected to be a metadata
node which should be a list of other metadata nodes, each of which should be a
list of metadata strings defining linker options.
More information about the llvm-commits
mailing list