We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29fff3e commit 6e0fc88Copy full SHA for 6e0fc88
clang/examples/Attribute/Attribute.cpp
@@ -29,10 +29,10 @@ struct ExampleAttrInfo : public ParsedAttrInfo {
29
// number of arguments. This just illustrates how many arguments a
30
// `ParsedAttrInfo` can hold, we will not use that much in this example.
31
OptArgs = 15;
32
- // GNU-style __attribute__(("example")) and C++/C2x-style [[example]] and
+ // GNU-style __attribute__(("example")) and C++/C23-style [[example]] and
33
// [[plugin::example]] supported.
34
static constexpr Spelling S[] = {{ParsedAttr::AS_GNU, "example"},
35
- {ParsedAttr::AS_C2x, "example"},
+ {ParsedAttr::AS_C23, "example"},
36
{ParsedAttr::AS_CXX11, "example"},
37
{ParsedAttr::AS_CXX11, "plugin::example"}};
38
Spellings = S;
0 commit comments