|
8482 | 8482 |
|
8483 | 8483 | \pnum
|
8484 | 8484 | The \grammarterm{attribute-token} \tcode{carries_dependency} specifies
|
8485 |
| -dependency propagation into and out of functions. It shall appear at most once |
8486 |
| -in each \grammarterm{attribute-list} and no |
| 8485 | +dependency propagation into and out of functions. |
| 8486 | +No |
8487 | 8487 | \grammarterm{attribute-argument-clause} shall be present. The attribute may be
|
8488 | 8488 | applied to the \grammarterm{declarator-id} of a
|
8489 | 8489 | \grammarterm{parameter-declaration} in a function declaration or lambda, in
|
|
8569 | 8569 | \tcode{deprecated} is appropriate for names and entities that are deemed obsolescent or
|
8570 | 8570 | unsafe.
|
8571 | 8571 | \end{note}
|
8572 |
| -It shall appear at most once in each \grammarterm{attribute-list}. An |
| 8572 | +An |
8573 | 8573 | \grammarterm{attribute-argument-clause} may be present and, if present, it shall have the form:
|
8574 | 8574 | \begin{ncbnf}
|
8575 | 8575 | \terminal{(} string-literal \terminal{)}
|
|
8619 | 8619 | may be applied to a null statement\iref{stmt.expr};
|
8620 | 8620 | \indextext{statement!fallthrough}
|
8621 | 8621 | such a statement is a fallthrough statement.
|
8622 |
| -The \grammarterm{attribute-token} \tcode{fallthrough} |
8623 |
| -shall appear at most once in each \grammarterm{attribute-list} and |
8624 |
| -no \grammarterm{attribute-argument-clause} shall be present. |
| 8622 | +No \grammarterm{attribute-argument-clause} shall be present. |
8625 | 8623 | A fallthrough statement may only appear within
|
8626 | 8624 | an enclosing \keyword{switch} statement\iref{stmt.switch}.
|
8627 | 8625 | The next statement that would be executed after a fallthrough statement
|
|
8681 | 8679 | The \grammarterm{attribute-token}s
|
8682 | 8680 | \tcode{likely} and \tcode{unlikely}
|
8683 | 8681 | may be applied to labels or statements.
|
8684 |
| -The \grammarterm{attribute-token}s |
8685 |
| -\tcode{likely} and \tcode{unlikely} |
8686 |
| -shall appear at most once in each \grammarterm{attribute-list} |
8687 |
| -and no \grammarterm{attribute-argument-clause} shall be present. |
| 8682 | +No \grammarterm{attribute-argument-clause} shall be present. |
8688 | 8683 | The \grammarterm{attribute-token} \tcode{likely}
|
8689 | 8684 | shall not appear in an \grammarterm{attribute-specifier-seq}
|
8690 | 8685 | that contains the \grammarterm{attribute-token} \tcode{unlikely}.
|
|
8740 | 8735 | \pnum
|
8741 | 8736 | The \grammarterm{attribute-token} \tcode{maybe_unused}
|
8742 | 8737 | indicates that a name or entity is possibly intentionally unused.
|
8743 |
| -It shall appear at most once in each \grammarterm{attribute-list} and |
8744 |
| -no \grammarterm{attribute-argument-clause} shall be present. |
| 8738 | +No \grammarterm{attribute-argument-clause} shall be present. |
8745 | 8739 |
|
8746 | 8740 | \pnum
|
8747 | 8741 | The attribute may be applied to the declaration of a class,
|
|
8787 | 8781 | The \grammarterm{attribute-token} \tcode{nodiscard}
|
8788 | 8782 | may be applied to the \grammarterm{declarator-id}
|
8789 | 8783 | in a function declaration or to the declaration of a class or enumeration.
|
8790 |
| -It shall appear at most once in each \grammarterm{attribute-list}. |
8791 | 8784 | An \grammarterm{attribute-argument-clause} may be present
|
8792 | 8785 | and, if present, shall have the form:
|
8793 | 8786 |
|
|
8876 | 8869 | \indextext{attribute!noreturn}
|
8877 | 8870 |
|
8878 | 8871 | \pnum
|
8879 |
| -The \grammarterm{attribute-token} \tcode{noreturn} specifies that a function does not return. It |
8880 |
| -shall appear at most once in each \grammarterm{attribute-list} and no |
| 8872 | +The \grammarterm{attribute-token} \tcode{noreturn} specifies that a function does not return. |
| 8873 | +No |
8881 | 8874 | \grammarterm{attribute-argument-clause} shall be present. The attribute may be applied to the
|
8882 | 8875 | \grammarterm{declarator-id} in a function declaration. The first declaration of a function shall
|
8883 | 8876 | specify the \tcode{noreturn} attribute if any declaration of that function specifies the
|
|
8919 | 8912 | The \grammarterm{attribute-token} \tcode{no_unique_address}
|
8920 | 8913 | specifies that a non-static data member
|
8921 | 8914 | is a potentially-overlapping subobject\iref{intro.object}.
|
8922 |
| -It shall appear at most once in each \grammarterm{attribute-list} |
8923 |
| -and no \grammarterm{attribute-argument-clause} shall be present. |
| 8915 | +No \grammarterm{attribute-argument-clause} shall be present. |
8924 | 8916 | The attribute may appertain to a non-static data member
|
8925 | 8917 | other than a bit-field.
|
8926 | 8918 |
|
|
0 commit comments