Swift: reflow comment

This commit is contained in:
Paolo Tranquilli
2022-07-22 13:54:32 +02:00
parent 7e67338fb5
commit 77401ded4e

View File

@@ -265,8 +265,8 @@ class SwiftDispatcher {
bool fetchLabelFromUnionCase(const llvm::PointerUnion<Ts...> u, TrapLabel<Tag>& output) {
// we rely on the fact that when we extract `ASTNode` instances (which only happens
// on `BraceStmt` elements), we cannot encounter a standalone `TypeRepr` there, so we skip
// this case; extracting `TypeRepr`s here would be problematic as we would not be able to provide the corresponding
// type
// this case; extracting `TypeRepr`s here would be problematic as we would not be able to
// provide the corresponding type
if constexpr (!std::is_same_v<T, swift::TypeRepr*>) {
if (auto e = u.template dyn_cast<T>()) {
output = fetchLabel(e);