Skip to content

Commit fdb520a

Browse files
committed
re-format clang docs
1 parent 6ced7f8 commit fdb520a

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

clang/docs/LanguageExtensions.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4255,7 +4255,8 @@ function, because doing so violates bounds safety conventions.
42554255
42564256
``__builtin_stack_address`` returns the address that separates the current
42574257
function's (i.e. the one calling the builtin) stack space and the region of the
4258-
stack that may be modified by called functions. The semantics match those of GCC's builtin of the same name.
4258+
stack that may be modified by called functions. The semantics match those of
4259+
GCC's builtin of the same name.
42594260
42604261
**Syntax**:
42614262
@@ -4274,10 +4275,11 @@ stack that may be modified by called functions. The semantics match those of GCC
42744275
The address returned by ``__builtin_stack_address`` identifies the starting
42754276
address of the stack region that may be used by called functions.
42764277
4277-
On some architectures (e.g. x86), it's sufficient to return the value in the stack pointer register
4278-
directly. On others (e.g. SPARCv9), adjustments are required to the value of the stack pointer
4279-
register. ``__builtin_stack_address`` performs the necessary adjustments and returns the correct
4280-
boundary address.
4278+
On some architectures (e.g. x86), it's sufficient to return the value in the
4279+
stack pointer register directly. On others (e.g. SPARCv9), adjustments are
4280+
required to the value of the stack pointer register.
4281+
``__builtin_stack_address`` performs the necessary adjustments and returns the
4282+
correct boundary address.
42814283
42824284
Multiprecision Arithmetic Builtins
42834285
----------------------------------

clang/docs/ReleaseNotes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ Resolutions to C++ Defect Reports
111111
C Language Changes
112112
------------------
113113

114-
- Clang now supports the :ref:`__builtin_stack_address <builtin_stack_address-doc>` () builtin.
114+
- Clang now supports the
115+
:ref:`__builtin_stack_address <builtin_stack_address-doc>` () builtin.
115116
The semantics match those of GCC's builtin with the same name.
116117

117118
C2y Feature Support

0 commit comments

Comments
 (0)