Skip to content

Commit 1c27c5e

Browse files
committed
CPP: Tag Padding queries.
1 parent bcb4ebf commit 1c27c5e

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

cpp/ql/src/Likely Bugs/Memory Management/Padding/More64BitWaste.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* @kind problem
55
* @id cpp/more-64-bit-waste
66
* @problem.severity warning
7+
* @tags maintainability
8+
* portability
79
*/
810

911
import semmle.code.cpp.padding.Padding

cpp/ql/src/Likely Bugs/Memory Management/Padding/NonPortablePrintf.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* @kind problem
66
* @id cpp/non-portable-printf
77
* @problem.severity warning
8+
* @tags maintainability
9+
* portability
810
*/
911

1012
import cpp

cpp/ql/src/Likely Bugs/Memory Management/Padding/Suboptimal64BitType.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
* that by reordering them one could reduce the amount of internal padding on a 64-bit architecture.
55
* @kind problem
66
* @id cpp/suboptimal-64-bit-type
7-
* @problem.severity warning
7+
* @problem.severity recommendation
8+
* @tags efficiency
89
*/
910

1011
import semmle.code.cpp.padding.Padding

0 commit comments

Comments
 (0)