Skip to content

Commit fe61ccd

Browse files
committed
Renamed FunctionProtoType.IsComplete -> FunctionProtoType.IsCallable to more accurately reflect what it provides.
1 parent ad19527 commit fe61ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ClangSharp.Pathogen/ClangSharpExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private unsafe static bool IsCallableImplementation(CXStringSet* diagnosticsSet,
126126
public unsafe static bool IsCallable(this FunctionDecl function, out ImmutableArray<string> diagnostics)
127127
=> IsCallableImplementation(PathogenExtensions.pathogen_IsFunctionCallable(function.Handle), out diagnostics);
128128

129-
public unsafe static bool IsComplete(this FunctionProtoType functionType, out ImmutableArray<string> diagnostics)
129+
public unsafe static bool IsCallable(this FunctionProtoType functionType, out ImmutableArray<string> diagnostics)
130130
=> IsCallableImplementation(PathogenExtensions.pathogen_IsFunctionTypeCallable(functionType.Handle), out diagnostics);
131131
}
132132
}

0 commit comments

Comments
 (0)