tmp/tmpy1i5fjcy/{from.md → to.md}
RENAMED
|
@@ -8,12 +8,12 @@ entities that are deemed obsolescent or unsafe. — *end note*]
|
|
| 8 |
|
| 9 |
It shall appear at most once in each *attribute-list*. An
|
| 10 |
*attribute-argument-clause* may be present and, if present, it shall
|
| 11 |
have the form:
|
| 12 |
|
| 13 |
-
```
|
| 14 |
-
( string-literal )
|
| 15 |
```
|
| 16 |
|
| 17 |
[*Note 2*: The *string-literal* in the *attribute-argument-clause*
|
| 18 |
could be used to explain the rationale for deprecation and/or to suggest
|
| 19 |
a replacing entity. — *end note*]
|
|
@@ -32,12 +32,12 @@ the entity. — *end note*]
|
|
| 32 |
|
| 33 |
Redeclarations using different forms of the attribute (with or without
|
| 34 |
the *attribute-argument-clause* or with different
|
| 35 |
*attribute-argument-clause*s) are allowed.
|
| 36 |
|
| 37 |
-
|
| 38 |
-
produce a diagnostic message in case the program refers to
|
| 39 |
-
entity other than to declare it, after a declaration that
|
| 40 |
-
attribute. The diagnostic message
|
| 41 |
-
the *attribute-argument-clause* of any `deprecated`
|
| 42 |
-
the name or entity.
|
| 43 |
|
|
|
|
| 8 |
|
| 9 |
It shall appear at most once in each *attribute-list*. An
|
| 10 |
*attribute-argument-clause* may be present and, if present, it shall
|
| 11 |
have the form:
|
| 12 |
|
| 13 |
+
``` bnf
|
| 14 |
+
'(' string-literal ')'
|
| 15 |
```
|
| 16 |
|
| 17 |
[*Note 2*: The *string-literal* in the *attribute-argument-clause*
|
| 18 |
could be used to explain the rationale for deprecation and/or to suggest
|
| 19 |
a replacing entity. — *end note*]
|
|
|
|
| 32 |
|
| 33 |
Redeclarations using different forms of the attribute (with or without
|
| 34 |
the *attribute-argument-clause* or with different
|
| 35 |
*attribute-argument-clause*s) are allowed.
|
| 36 |
|
| 37 |
+
*Recommended practice:* Implementations should use the `deprecated`
|
| 38 |
+
attribute to produce a diagnostic message in case the program refers to
|
| 39 |
+
a name or entity other than to declare it, after a declaration that
|
| 40 |
+
specifies the attribute. The diagnostic message should include the text
|
| 41 |
+
provided within the *attribute-argument-clause* of any `deprecated`
|
| 42 |
+
attribute applied to the name or entity.
|
| 43 |
|