You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow multiple tags in a single gsl::suppress #2043
Currentlygsl::suppress(tag) allows for only one tag at a time. Allowing for multiple tags will be particularly useful once the justification message is more widely used:
[[gsl::suppress(tag1, tag2, ..., tagn, justification: "msg")]]// only requires "msg" to be written once[[gsl::suppress(tag1, justification: "msg")]][[gsl::suppress(tag2), justification: "msg"]] ... [[gsl::suppress(tagn, justification: "msg")]]// duplicated "msg"
MSVC already supports having a comma-delimited list of tags in a single gsl::suppress
Activity
hsutter commentedon Jul 27, 2023
Editors call: Only one tag is allowed. We don't want to complicate the syntax of the tags to enable clarity for tools and humans readers.