Skip to content

Commit 691e462

Browse files
committed
C++: Support the __mfp8 floating point type
1 parent c1c0a70 commit 691e462

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,9 @@ private predicate floatingPointTypeMapping(
839839
or
840840
// _Complex _Float128
841841
kind = 61 and base = 2 and domain = TComplexDomain() and realKind = 49 and extended = false
842+
or
843+
// __mfp8
844+
kind = 62 and base = 2 and domain = TRealDomain() and realKind = 62 and extended = false
842845
}
843846

844847
/**

cpp/ql/lib/semmlecode.cpp.dbscheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ case @builtintype.kind of
691691
| 59 = @complex_std_float64 // _Complex _Float64
692692
| 60 = @complex_float64x // _Complex _Float64x
693693
| 61 = @complex_std_float128 // _Complex _Float128
694+
| 62 = @mfp8 // __mfp8
694695
;
695696

696697
builtintypes(

0 commit comments

Comments
 (0)