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
Commit 8321729
Browse filesBrowse the repository at this point in the historyBrowse files
Extend the unused static variable query test with a C++20 variadic parameter pack instantiated with zero and one arguments. This captures the empty-pack restrictionPack finding reported by issue #22931.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: cpp/ql/test/query-tests/Best Practices/Unused Entities/UnusedStaticVariables/UnusedStaticVariables.expected
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,3 +2,4 @@
2
2
| test.cpp:8:12:8:21 | staticVar6 | Static variable staticVar6 is never read. |
3
3
| test.cpp:10:11:10:19 | constVar8 | Static variable constVar8 is never read. |
4
4
| test.cpp:12:12:12:22 | staticVar10 | Static variable staticVar10 is never read. |
5
+
| test.cpp:68:58:68:72 | restrictionPack | Static variable restrictionPack is never read. |
0 commit comments