Skip to content

Commit 6e0fc88

Browse files
committed
Fix examples after C2x renaming
This amends 0ce056a and fixes an example that was not built locally for me.
1 parent 29fff3e commit 6e0fc88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/examples/Attribute/Attribute.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ struct ExampleAttrInfo : public ParsedAttrInfo {
2929
// number of arguments. This just illustrates how many arguments a
3030
// `ParsedAttrInfo` can hold, we will not use that much in this example.
3131
OptArgs = 15;
32-
// GNU-style __attribute__(("example")) and C++/C2x-style [[example]] and
32+
// GNU-style __attribute__(("example")) and C++/C23-style [[example]] and
3333
// [[plugin::example]] supported.
3434
static constexpr Spelling S[] = {{ParsedAttr::AS_GNU, "example"},
35-
{ParsedAttr::AS_C2x, "example"},
35+
{ParsedAttr::AS_C23, "example"},
3636
{ParsedAttr::AS_CXX11, "example"},
3737
{ParsedAttr::AS_CXX11, "plugin::example"}};
3838
Spellings = S;

0 commit comments

Comments
 (0)