Fix examples after C2x renaming
This amends 0ce056a814 and fixes an
example that was not built locally for me.
This commit is contained in:
parent
29fff3e2ab
commit
6e0fc88836
1 changed files with 2 additions and 2 deletions
|
|
@ -29,10 +29,10 @@ struct ExampleAttrInfo : public ParsedAttrInfo {
|
|||
// number of arguments. This just illustrates how many arguments a
|
||||
// `ParsedAttrInfo` can hold, we will not use that much in this example.
|
||||
OptArgs = 15;
|
||||
// GNU-style __attribute__(("example")) and C++/C2x-style [[example]] and
|
||||
// GNU-style __attribute__(("example")) and C++/C23-style [[example]] and
|
||||
// [[plugin::example]] supported.
|
||||
static constexpr Spelling S[] = {{ParsedAttr::AS_GNU, "example"},
|
||||
{ParsedAttr::AS_C2x, "example"},
|
||||
{ParsedAttr::AS_C23, "example"},
|
||||
{ParsedAttr::AS_CXX11, "example"},
|
||||
{ParsedAttr::AS_CXX11, "plugin::example"}};
|
||||
Spellings = S;
|
||||
|
|
|
|||
Loading…
Reference in a new issue