Skip to content

Commit a84a7e8

Browse files
C++: Fixup after rebase
1 parent 8a9528b commit a84a7e8

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,8 +1055,6 @@ class GNUVectorType extends DerivedType {
10551055

10561056
GNUVectorType() { derivedtypes(underlyingElement(this),_,5,_) }
10571057

1058-
override string getCanonicalQLClass() { result = "GNUVectorType" }
1059-
10601058
/**
10611059
* Get the number of elements in this vector type.
10621060
*

cpp/ql/test/library-tests/ir/ir/PrintAST.expected

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8017,9 +8017,9 @@ ir.cpp:
80178017
# 1154| expr: [VectorAggregateLiteral] {...}
80188018
# 1154| Type = [GNUVectorType] __attribute((vector_size(16))) int
80198019
# 1154| ValueCategory = prvalue
8020-
# 1154| 0: [Literal,Zero] 0
8020+
# 1154| 0: [Literal] 0
80218021
# 1154| Type = [IntType] int
8022-
# 1154| Value = [Literal,Zero] 0
8022+
# 1154| Value = [Literal] 0
80238023
# 1154| ValueCategory = prvalue
80248024
# 1154| 1: [Literal] 1
80258025
# 1154| Type = [IntType] int
@@ -8066,7 +8066,7 @@ ir.cpp:
80668066
# 1157| 0: [VariableDeclarationEntry] definition of vi4_shuffle
80678067
# 1157| Type = [SpecifiedType] __attribute((vector_size(16UL))) int
80688068
# 1157| init: [Initializer] initializer for vi4_shuffle
8069-
# 1157| expr: [BuiltInOperation] __builtin_shufflevector
8069+
# 1157| expr: [BuiltInOperationBuiltInShuffleVector] __builtin_shufflevector
80708070
# 1157| Type = [GNUVectorType] __attribute((vector_size(16))) int
80718071
# 1157| ValueCategory = prvalue
80728072
# 1157| 0: [VariableAccess] vi4
@@ -8083,9 +8083,9 @@ ir.cpp:
80838083
# 1157| Type = [IntType] int
80848084
# 1157| Value = [Literal] 3
80858085
# 1157| ValueCategory = prvalue
8086-
# 1157| 1: [Literal,Zero] 0
8086+
# 1157| 1: [Literal] 0
80878087
# 1157| Type = [IntType] int
8088-
# 1157| Value = [Literal,Zero] 0
8088+
# 1157| Value = [Literal] 0
80898089
# 1157| ValueCategory = prvalue
80908090
# 1157| 3: [Literal] 2
80918091
# 1157| Type = [IntType] int
@@ -8095,9 +8095,9 @@ ir.cpp:
80958095
# 1157| Type = [IntType] int
80968096
# 1157| Value = [Literal] 1
80978097
# 1157| ValueCategory = prvalue
8098-
# 1157| 5: [Literal,Zero] 0
8098+
# 1157| 5: [Literal] 0
80998099
# 1157| Type = [IntType] int
8100-
# 1157| Value = [Literal,Zero] 0
8100+
# 1157| Value = [Literal] 0
81018101
# 1157| ValueCategory = prvalue
81028102
# 1158| 4: [ExprStmt] ExprStmt
81038103
# 1158| 0: [AssignExpr] ... = ...

0 commit comments

Comments
 (0)