mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
CPP: Tag Padding queries.
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
* @kind problem
|
||||
* @id cpp/more-64-bit-waste
|
||||
* @problem.severity warning
|
||||
* @tags maintainability
|
||||
* portability
|
||||
*/
|
||||
|
||||
import semmle.code.cpp.padding.Padding
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
* @kind problem
|
||||
* @id cpp/non-portable-printf
|
||||
* @problem.severity warning
|
||||
* @tags maintainability
|
||||
* portability
|
||||
*/
|
||||
|
||||
import cpp
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user