|
8493 | 8493 |
|
8494 | 8494 | \pnum
|
8495 | 8495 | The \grammarterm{attribute-token} \tcode{carries_dependency} specifies
|
8496 |
| -dependency propagation into and out of functions. It shall appear at most once |
8497 |
| -in each \grammarterm{attribute-list} and no |
| 8496 | +dependency propagation into and out of functions. |
| 8497 | +No |
8498 | 8498 | \grammarterm{attribute-argument-clause} shall be present. The attribute may be
|
8499 | 8499 | applied to the \grammarterm{declarator-id} of a
|
8500 | 8500 | \grammarterm{parameter-declaration} in a function declaration or lambda, in
|
|
8580 | 8580 | \tcode{deprecated} is appropriate for names and entities that are deemed obsolescent or
|
8581 | 8581 | unsafe.
|
8582 | 8582 | \end{note}
|
8583 |
| -It shall appear at most once in each \grammarterm{attribute-list}. An |
| 8583 | +An |
8584 | 8584 | \grammarterm{attribute-argument-clause} may be present and, if present, it shall have the form:
|
8585 | 8585 | \begin{ncbnf}
|
8586 | 8586 | \terminal{(} string-literal \terminal{)}
|
|
8630 | 8630 | may be applied to a null statement\iref{stmt.expr};
|
8631 | 8631 | \indextext{statement!fallthrough}
|
8632 | 8632 | such a statement is a fallthrough statement.
|
8633 |
| -The \grammarterm{attribute-token} \tcode{fallthrough} |
8634 |
| -shall appear at most once in each \grammarterm{attribute-list} and |
8635 |
| -no \grammarterm{attribute-argument-clause} shall be present. |
| 8633 | +No \grammarterm{attribute-argument-clause} shall be present. |
8636 | 8634 | A fallthrough statement may only appear within
|
8637 | 8635 | an enclosing \keyword{switch} statement\iref{stmt.switch}.
|
8638 | 8636 | The next statement that would be executed after a fallthrough statement
|
|
8692 | 8690 | The \grammarterm{attribute-token}s
|
8693 | 8691 | \tcode{likely} and \tcode{unlikely}
|
8694 | 8692 | may be applied to labels or statements.
|
8695 |
| -The \grammarterm{attribute-token}s |
8696 |
| -\tcode{likely} and \tcode{unlikely} |
8697 |
| -shall appear at most once in each \grammarterm{attribute-list} |
8698 |
| -and no \grammarterm{attribute-argument-clause} shall be present. |
| 8693 | +No \grammarterm{attribute-argument-clause} shall be present. |
8699 | 8694 | The \grammarterm{attribute-token} \tcode{likely}
|
8700 | 8695 | shall not appear in an \grammarterm{attribute-specifier-seq}
|
8701 | 8696 | that contains the \grammarterm{attribute-token} \tcode{unlikely}.
|
|
8751 | 8746 | \pnum
|
8752 | 8747 | The \grammarterm{attribute-token} \tcode{maybe_unused}
|
8753 | 8748 | indicates that a name or entity is possibly intentionally unused.
|
8754 |
| -It shall appear at most once in each \grammarterm{attribute-list} and |
8755 |
| -no \grammarterm{attribute-argument-clause} shall be present. |
| 8749 | +No \grammarterm{attribute-argument-clause} shall be present. |
8756 | 8750 |
|
8757 | 8751 | \pnum
|
8758 | 8752 | The attribute may be applied to the declaration of a class,
|
|
8798 | 8792 | The \grammarterm{attribute-token} \tcode{nodiscard}
|
8799 | 8793 | may be applied to the \grammarterm{declarator-id}
|
8800 | 8794 | in a function declaration or to the declaration of a class or enumeration.
|
8801 |
| -It shall appear at most once in each \grammarterm{attribute-list}. |
8802 | 8795 | An \grammarterm{attribute-argument-clause} may be present
|
8803 | 8796 | and, if present, shall have the form:
|
8804 | 8797 |
|
|
8887 | 8880 | \indextext{attribute!noreturn}
|
8888 | 8881 |
|
8889 | 8882 | \pnum
|
8890 |
| -The \grammarterm{attribute-token} \tcode{noreturn} specifies that a function does not return. It |
8891 |
| -shall appear at most once in each \grammarterm{attribute-list} and no |
| 8883 | +The \grammarterm{attribute-token} \tcode{noreturn} specifies that a function does not return. |
| 8884 | +No |
8892 | 8885 | \grammarterm{attribute-argument-clause} shall be present. The attribute may be applied to the
|
8893 | 8886 | \grammarterm{declarator-id} in a function declaration. The first declaration of a function shall
|
8894 | 8887 | specify the \tcode{noreturn} attribute if any declaration of that function specifies the
|
|
8930 | 8923 | The \grammarterm{attribute-token} \tcode{no_unique_address}
|
8931 | 8924 | specifies that a non-static data member
|
8932 | 8925 | is a potentially-overlapping subobject\iref{intro.object}.
|
8933 |
| -It shall appear at most once in each \grammarterm{attribute-list} |
8934 |
| -and no \grammarterm{attribute-argument-clause} shall be present. |
| 8926 | +No \grammarterm{attribute-argument-clause} shall be present. |
8935 | 8927 | The attribute may appertain to a non-static data member
|
8936 | 8928 | other than a bit-field.
|
8937 | 8929 |
|
|
0 commit comments