Swift: Support TypeValueExpr and IntegerType

This commit is contained in:
Jeroen Ketema
2025-05-01 15:49:56 +02:00
parent 97d2ed8b3b
commit c74fca929a
32 changed files with 373 additions and 13 deletions

View File

@@ -689,4 +689,10 @@ codeql::CurrentContextIsolationExpr ExprTranslator::translateCurrentContextIsola
return entry;
}
codeql::TypeValueExpr ExprTranslator::translateTypeValueExpr(const swift::TypeValueExpr& expr) {
auto entry = createExprEntry(expr);
entry.type_repr = dispatcher.fetchLabel(expr.getParamTypeRepr());
return entry;
}
} // namespace codeql