Skip to content

Commit 9ccd841

Browse files
jketemaCopilot
andcommitted
Add maybe_unused query change note
Document that the unused-local and unused-static-variable queries now honor the C++17 maybe_unused attribute. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 24b6e60 commit 9ccd841

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
The `cpp/unused-local-variable` and `cpp/unused-static-variable` queries now recognize the C++17 `[[maybe_unused]]` attribute.

0 commit comments

Comments
 (0)