mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
Swift: Support TypeValueExpr and IntegerType
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user