File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -84,11 +84,6 @@ namespace {
84
84
unsigned haveStringLiteral : 1 ;
85
85
86
86
llvm::SmallSet<TypeBase*, 16 > collectedTypes;
87
-
88
- llvm::SmallVector<TypeVariableType *, 16 > intLiteralTyvars;
89
- llvm::SmallVector<TypeVariableType *, 16 > floatLiteralTyvars;
90
- llvm::SmallVector<TypeVariableType *, 16 > stringLiteralTyvars;
91
-
92
87
llvm::SmallVector<BinaryExpr *, 4 > binaryExprs;
93
88
94
89
LinkedTypeInfo () {
@@ -188,35 +183,16 @@ namespace {
188
183
189
184
if (isa<IntegerLiteralExpr>(expr)) {
190
185
LTI.haveIntLiteral = true ;
191
- auto tyvar = CS.getType (expr)->getAs <TypeVariableType>();
192
-
193
- if (tyvar) {
194
- LTI.intLiteralTyvars .push_back (tyvar);
195
- }
196
-
197
186
return { false , expr };
198
187
}
199
188
200
189
if (isa<FloatLiteralExpr>(expr)) {
201
190
LTI.haveFloatLiteral = true ;
202
- auto tyvar = CS.getType (expr)->getAs <TypeVariableType>();
203
-
204
- if (tyvar) {
205
- LTI.floatLiteralTyvars .push_back (tyvar);
206
- }
207
-
208
191
return { false , expr };
209
192
}
210
193
211
194
if (isa<StringLiteralExpr>(expr)) {
212
195
LTI.haveStringLiteral = true ;
213
-
214
- auto tyvar = CS.getType (expr)->getAs <TypeVariableType>();
215
-
216
- if (tyvar) {
217
- LTI.stringLiteralTyvars .push_back (tyvar);
218
- }
219
-
220
196
return { false , expr };
221
197
}
222
198
You can’t perform that action at this time.
0 commit comments