mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[IDE] Move definition of low-level runNameMatcher entry point to .cpp file
This commit is contained in:
@@ -160,26 +160,4 @@ public:
|
||||
void *getOpaqueValue() const;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/// Low-level entry point to run the NameMatcher written in swift-syntax.
|
||||
///
|
||||
/// - Warning: The only caller of this should be `swift::ide::runNameMatcher`.
|
||||
///
|
||||
/// - Parameters:
|
||||
/// - sourceFilePtr: A pointer to an `ExportedSourceFile`, used to access the
|
||||
/// syntax tree
|
||||
/// - locations: Pointer to a buffer of `BridgedSourceLoc` that should be
|
||||
/// resolved by the name matcher.
|
||||
/// - locationsCount: Number of elements in `locations`.
|
||||
/// - Returns: The opaque value of a `BridgedResolvedLocVector`.
|
||||
void *swift_SwiftIDEUtilsBridging_runNameMatcher(const void *sourceFilePtr,
|
||||
BridgedSourceLoc *locations,
|
||||
size_t locationsCount);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user