Skip to content

Commit 5d80417

Browse files
criemenMathiasVP
andauthored
Update cpp/ql/src/semmle/code/cpp/Type.qll
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
1 parent ba32459 commit 5d80417

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -579,11 +579,7 @@ class BoolType extends IntegralType {
579579
*/
580580
class CharType extends IntegralType {
581581
CharType() {
582-
builtintypes(underlyingElement(this), _, 5, _, _, _)
583-
or
584-
builtintypes(underlyingElement(this), _, 6, _, _, _)
585-
or
586-
builtintypes(underlyingElement(this), _, 7, _, _, _)
582+
builtintypes(underlyingElement(this), _, [5, 6, 7], _, _, _)
587583
}
588584
}
589585

0 commit comments

Comments
 (0)