Skip to content

Commit e87aaaf

Browse files
authored
[LangRef] Minor editorial fixes (#137782)
1 parent 0ba1361 commit e87aaaf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

llvm/docs/LangRef.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ There are two kinds of escapes.
159159
* ``\\`` represents a single ``\`` character.
160160

161161
* ``\`` followed by two hexadecimal characters (0-9, a-f, or A-F)
162-
represents the byte with the given value (e.g. \x00 represents a
162+
represents the byte with the given value (e.g. ``\00`` represents a
163163
null byte).
164164

165165
To represent a ``"`` character, use ``\22``. (``\"`` will end the string
@@ -465,11 +465,11 @@ added in the future:
465465
Non-general purpose registers still follow the standard c calling
466466
convention. Currently it is for x86_64 and AArch64 only.
467467
"``cxx_fast_tlscc``" - The `CXX_FAST_TLS` calling convention for access functions
468-
Clang generates an access function to access C++-style TLS. The access
469-
function generally has an entry block, an exit block and an initialization
470-
block that is run at the first time. The entry and exit blocks can access
471-
a few TLS IR variables, each access will be lowered to a platform-specific
472-
sequence.
468+
Clang generates an access function to access C++-style Thread Local Storage
469+
(TLS). The access function generally has an entry block, an exit block and an
470+
initialization block that is run at the first time. The entry and exit blocks
471+
can access a few TLS IR variables, each access will be lowered to a
472+
platform-specific sequence.
473473

474474
This calling convention aims to minimize overhead in the caller by
475475
preserving as many registers as possible (all the registers that are
@@ -727,7 +727,7 @@ optimizations based on the 'constantness' are valid for the translation
727727
units that do not include the definition.
728728

729729
As SSA values, global variables define pointer values that are in scope
730-
(i.e. they dominate) all basic blocks in the program. Global variables
730+
for (i.e. they dominate) all basic blocks in the program. Global variables
731731
always define a pointer to their "content" type because they describe a
732732
region of memory, and all :ref:`allocated object<allocatedobjects>` in LLVM are
733733
accessed through pointers.

0 commit comments

Comments
 (0)