CPP: Tag Padding queries.

This commit is contained in:
Geoffrey White
2018-11-08 16:50:13 +00:00
parent bcb4ebffc3
commit 1c27c5e5ed
3 changed files with 6 additions and 1 deletions

View File

@@ -4,6 +4,8 @@
* @kind problem
* @id cpp/more-64-bit-waste
* @problem.severity warning
* @tags maintainability
* portability
*/
import semmle.code.cpp.padding.Padding

View File

@@ -5,6 +5,8 @@
* @kind problem
* @id cpp/non-portable-printf
* @problem.severity warning
* @tags maintainability
* portability
*/
import cpp

View File

@@ -4,7 +4,8 @@
* that by reordering them one could reduce the amount of internal padding on a 64-bit architecture.
* @kind problem
* @id cpp/suboptimal-64-bit-type
* @problem.severity warning
* @problem.severity recommendation
* @tags efficiency
*/
import semmle.code.cpp.padding.Padding