Skip to content

Commit 467231e

Browse files
authored
Merge pull request github#13887 from jketema/float128x
C++: Remove support for `_Float128x` which is not actually supported by gcc
2 parents 58d8a2d + 073d170 commit 467231e

File tree

15 files changed

+9403
-569
lines changed

15 files changed

+9403
-569
lines changed

cpp/downgrades/d77c09d8bdc172c9201dec293de1e14c931d3f05/old.dbscheme

Lines changed: 2212 additions & 0 deletions
Large diffs are not rendered by default.

cpp/downgrades/d77c09d8bdc172c9201dec293de1e14c931d3f05/semmlecode.cpp.dbscheme

Lines changed: 2212 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
description: Remove _Float128 type
2+
compatibility: full
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* The `_Float128x` type is no longer exposed as a builtin type. As this type could not occur any code base, this should only affect queries that explicitly looked at the builtin types.

cpp/ql/lib/semmle/code/cpp/Type.qll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -814,9 +814,6 @@ private predicate floatingPointTypeMapping(
814814
// _Float128
815815
kind = 49 and base = 2 and domain = TRealDomain() and realKind = 49 and extended = false
816816
or
817-
// _Float128x
818-
kind = 50 and base = 2 and domain = TRealDomain() and realKind = 50 and extended = true
819-
or
820817
// _Float16
821818
kind = 52 and base = 2 and domain = TRealDomain() and realKind = 52 and extended = false
822819
or

cpp/ql/lib/semmlecode.cpp.dbscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ case @builtintype.kind of
608608
| 47 = @std_float64 // _Float64
609609
| 48 = @float64x // _Float64x
610610
| 49 = @std_float128 // _Float128
611-
| 50 = @float128x // _Float128x
611+
// ... 50 _Float128x
612612
| 51 = @char8_t
613613
| 52 = @float16 // _Float16
614614
| 53 = @complex_float16 // _Complex _Float16

0 commit comments

Comments
 (0)