Skip to content

Commit 9ec0900

Browse files
committed
Swift: Remove no longer needed code.
1 parent 5450585 commit 9ec0900

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

swift/extractor/trap/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,5 @@ swift_cc_library(
5353
deps = [
5454
"//swift/extractor/infra/file",
5555
"//swift/logging",
56-
"@absl//absl/numeric:bits",
5756
],
5857
)

swift/logging/SwiftDiagnostics.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@ struct SwiftDiagnostic {
8383

8484
private:
8585
bool has(Visibility v) const;
86-
87-
constexpr void setOptionalArg(Visibility v) { visibility = v; }
88-
constexpr void setOptionalArg(Severity s) { severity = s; }
89-
90-
// intentionally left undefined
91-
template <typename T>
92-
constexpr void setOptionalArg(T);
9386
};
9487

9588
inline constexpr SwiftDiagnostic::Visibility operator|(SwiftDiagnostic::Visibility lhs,

0 commit comments

Comments
 (0)