File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -217,6 +217,14 @@ codeql::ProtocolCompositionType TypeTranslator::translateProtocolCompositionType
217
217
return entry;
218
218
}
219
219
220
+ codeql::BuiltinIntegerLiteralType TypeTranslator::translateBuiltinIntegerLiteralType (
221
+ const swift::BuiltinIntegerLiteralType& type) {
222
+ // currently the translate dispatching mechanism does not go up more than one step in the
223
+ // hierarchy so we need to put this explicitly here, as BuiltinIntegerLiteralType derives from
224
+ // AnyBuiltinIntegerType which then derives from BuiltinType
225
+ return translateBuiltinType (type);
226
+ }
227
+
220
228
codeql::BuiltinIntegerType TypeTranslator::translateBuiltinIntegerType (
221
229
const swift::BuiltinIntegerType& type) {
222
230
auto entry = createTypeEntry (type);
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ class TypeTranslator : public TypeTranslatorBase<TypeTranslator> {
64
64
return createTypeEntry (type);
65
65
}
66
66
67
+ codeql::BuiltinIntegerLiteralType translateBuiltinIntegerLiteralType (
68
+ const swift::BuiltinIntegerLiteralType& type);
67
69
codeql::BuiltinIntegerType translateBuiltinIntegerType (const swift::BuiltinIntegerType& type);
68
70
codeql::OpenedArchetypeType translateOpenedArchetypeType (const swift::OpenedArchetypeType& type);
69
71
codeql::ModuleType translateModuleType (const swift::ModuleType& type);
You can’t perform that action at this time.
0 commit comments