We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e67338 commit 77401deCopy full SHA for 77401de
1 file changed
swift/extractor/infra/SwiftDispatcher.h
@@ -265,8 +265,8 @@ class SwiftDispatcher {
265
bool fetchLabelFromUnionCase(const llvm::PointerUnion<Ts...> u, TrapLabel<Tag>& output) {
266
// we rely on the fact that when we extract `ASTNode` instances (which only happens
267
// on `BraceStmt` elements), we cannot encounter a standalone `TypeRepr` there, so we skip
268
- // this case; extracting `TypeRepr`s here would be problematic as we would not be able to provide the corresponding
269
- // type
+ // this case; extracting `TypeRepr`s here would be problematic as we would not be able to
+ // provide the corresponding type
270
if constexpr (!std::is_same_v<T, swift::TypeRepr*>) {
271
if (auto e = u.template dyn_cast<T>()) {
272
output = fetchLabel(e);
0 commit comments