We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ee9bfd commit 93c9474Copy full SHA for 93c9474
lib/ASTGen/Sources/ASTGen/PluginHost.swift
@@ -31,7 +31,6 @@ public func _initializePlugin(
31
cxxDiagnosticEngine: UnsafeMutableRawPointer?
32
) -> Bool {
33
let plugin = CompilerPlugin(opaqueHandle: opaqueHandle)
34
- let diagEngine = PluginDiagnosticsEngine(cxxDiagnosticEngine: cxxDiagnosticEngine)
35
36
do {
37
try plugin.initialize()
lib/ASTGen/Sources/ASTGen/Stmts.swift
@@ -446,7 +446,7 @@ extension ASTGenVisitor {
446
switch node {
447
case .switchCase(let node):
448
return ASTNode.stmt(self.generate(switchCase: node).asStmt).bridged
449
- case .ifConfigDecl(let node):
+ case .ifConfigDecl(_):
450
fatalError("unimplemented")
451
}
452
}).bridgedArray(in: self)
0 commit comments