Skip to content

Commit d396d34

Browse files
committed
docs/stdlib: fix CI doc formatting and copyright year
1 parent dca3218 commit d396d34

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

docs/design/constexpr.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ constexpr functions
8888
- ``constexpr`` functions must be "constexpr-suitable" at definition time.
8989
- The return type can be any constexpr-supported type (including aggregates).
9090
- ``constexpr`` is not allowed on function parameters.
91-
- Linkage follows C++ constexpr function behavior:
92-
- non-``static`` constexpr functions are emitted with ODR linkage
93-
(``linkonce_odr``)
94-
- ``static`` constexpr functions have internal linkage
91+
- Linkage follows C++ constexpr function behavior.
92+
- Non-``static`` constexpr functions are emitted with ODR linkage
93+
(``linkonce_odr``).
94+
- ``static`` constexpr functions have internal linkage.
9595

9696
constexpr-suitable validation (definition time)
9797
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -313,10 +313,10 @@ Requirements (v1):
313313
globals/functions (not locals/parameters).
314314
- ``task``, ``export``, and ``extern "C"/"SYCL"`` are not allowed on
315315
``constexpr`` functions in v1.
316-
- Linkage follows C++ constexpr function behavior:
317-
- non-``static`` constexpr functions are emitted with ODR linkage
318-
(``linkonce_odr``)
319-
- ``static`` constexpr functions have internal linkage
316+
- Linkage follows C++ constexpr function behavior.
317+
- Non-``static`` constexpr functions are emitted with ODR linkage
318+
(``linkonce_odr``).
319+
- ``static`` constexpr functions have internal linkage.
320320

321321
Examples:
322322

docs/ispc.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3851,10 +3851,10 @@ Requirements (v1):
38513851
(not locals/parameters).
38523852
- ``task``, ``export``, and ``extern "C"/"SYCL"`` are not allowed on
38533853
``constexpr`` functions in v1.
3854-
- Linkage follows C++ constexpr function behavior:
3855-
- non-``static`` constexpr functions are emitted with ODR linkage
3856-
(``linkonce_odr``)
3857-
- ``static`` constexpr functions have internal linkage
3854+
- Linkage follows C++ constexpr function behavior.
3855+
- Non-``static`` constexpr functions are emitted with ODR linkage
3856+
(``linkonce_odr``).
3857+
- ``static`` constexpr functions have internal linkage.
38583858

38593859
Example:
38603860

stdlib/stdlib.ispc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// -*- mode: c++ -*-
22
/*
3-
Copyright (c) 2010-2025, Intel Corporation
3+
Copyright (c) 2010-2026, Intel Corporation
44
55
SPDX-License-Identifier: BSD-3-Clause
66
*/

0 commit comments

Comments
 (0)