Skip to content

Commit 83ad071

Browse files
Update clang/docs/InternalsManual.rst
Change anonymous to unscoped. The name of it is irrelevant to what we're talking about anyway, since it is unscoped. Co-authored-by: Aaron Ballman <[email protected]>
1 parent 116d20e commit 83ad071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/docs/InternalsManual.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ Description:
286286
This format specifier is used exactly like a ``select`` specifier, except it
287287
additionally generates a namespace, enumeration, and enumerator list based on
288288
the format string given. In the above case, a namespace is generated named
289-
``FrobbleKind`` that has a anonymous enumeration with the enumerators
289+
``FrobbleKind`` that has an unscoped enumeration with the enumerators
290290
``VarDecl`` and ``FuncDecl`` which correspond to the values 0 and 1. This
291291
permits a clearer use of the ``Diag`` in source code, as the above could be
292292
called as: ``Diag(Loc, diag::frobble) << diag::FrobbleKind::VarDecl``.

0 commit comments

Comments
 (0)