Skip to content

Updated attribute syntax to support comma syntax and empty specifiers#51

Merged
satya-das merged 1 commit intosatya-das:masterfrom
m-doescode:multi-attribs
Feb 9, 2026
Merged

Updated attribute syntax to support comma syntax and empty specifiers#51
satya-das merged 1 commit intosatya-das:masterfrom
m-doescode:multi-attribs

Conversation

@m-doescode
Copy link
Contributor

Adds support for the following syntax formats to be more consistent with the C++ spec:

[[ attr1, attr2 /* ... */ ]] void func();
[[ /* empty specifier */ ]] void func();
  • Added (and ran) some tests for the above syntaxes

Copy link
Owner

@satya-das satya-das left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good improvement.

@satya-das satya-das merged commit 900d469 into satya-das:master Feb 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants