mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Swift: reflow comment
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user