File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/ASTGen/Sources/ASTGen Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ struct ASTGenVisitor: SyntaxTransformVisitor {
72
72
/// Generate AST nodes for all top-level entities in the given source file.
73
73
@_cdecl ( " swift_ASTGen_buildTopLevelASTNodes " )
74
74
public func buildTopLevelASTNodes(
75
- sourceFilePtr: UnsafeRawPointer ,
75
+ sourceFilePtr: UnsafePointer < UInt8 > ,
76
76
dc: UnsafeMutableRawPointer ,
77
77
ctx: UnsafeMutableRawPointer ,
78
78
outputContext: UnsafeMutableRawPointer ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public func parseSourceFile(
40
40
/// Deallocate a parsed source file.
41
41
@_cdecl ( " swift_ASTGen_destroySourceFile " )
42
42
public func destroySourceFile(
43
- sourceFilePtr: UnsafeMutableRawPointer
43
+ sourceFilePtr: UnsafeMutablePointer < UInt8 >
44
44
) {
45
45
sourceFilePtr. withMemoryRebound ( to: ExportedSourceFile . self, capacity: 1 ) { sourceFile in
46
46
sourceFile. deinitialize ( count: 1 )
You can’t perform that action at this time.
0 commit comments