-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into post-release-prep/codeql-cli-2.15.1
- Loading branch information
Showing
120 changed files
with
14,925 additions
and
4,728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
cpp/downgrades/5b388693c66db1e7dc2e76a90aa67a2b6eb74f0f/builtintypes.ql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
class BuiltinType extends @builtintype { | ||
string toString() { none() } | ||
} | ||
|
||
from BuiltinType type, string name, int kind, int kind_new, int size, int sign, int alignment | ||
where | ||
builtintypes(type, name, kind, size, sign, alignment) and | ||
if | ||
type instanceof @fp16 or | ||
type instanceof @std_bfloat16 or | ||
type instanceof @std_float16 or | ||
type instanceof @complex_std_float32 or | ||
type instanceof @complex_float32x or | ||
type instanceof @complex_std_float64 or | ||
type instanceof @complex_float64x or | ||
type instanceof @complex_std_float128 | ||
then kind_new = 2 | ||
else kind_new = kind | ||
select type, name, kind_new, size, sign, alignment |
Oops, something went wrong.