Files
swift-mirror/include/swift/IDE/IDERequestIDZone.def
Alex Hoppen ee26b4b299 [SourceKit] Pass ResolvedCursorInfo as shared pointer instead of by value
This allows us to model the `ResolvedCursorInfo` types as a proper type hierarchy instead of having to store all values in the base `ResolvedCursorInfo` type.

rdar://102853071
2023-02-14 22:40:45 +01:00

32 lines
1.4 KiB
C++

//===-------- IDERequestIDZone.def ------------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
// This definition file describes the types in the IDE requests
// TypeID zone, for use with the TypeID template.
//
//===----------------------------------------------------------------------===//
SWIFT_REQUEST(IDE, CollectOverriddenDeclsRequest,
ArrayRef<ValueDecl *>(OverridenDeclsOwner), Cached,
NoLocationInfo)
SWIFT_REQUEST(IDE, CursorInfoRequest,
ide::ResolvedCursorInfoPtr(CursorInfoOwner),
Cached, NoLocationInfo)
SWIFT_REQUEST(IDE, ProvideDefaultImplForRequest,
ArrayRef<ValueDecl *>(ValueDecl *), Cached,
NoLocationInfo)
SWIFT_REQUEST(IDE, RangeInfoRequest, ide::ResolvedRangeInfo(RangeInfoOwner),
Cached, NoLocationInfo)
SWIFT_REQUEST(IDE, ResolveProtocolNameRequest,
ProtocolDecl *(ProtocolNameOwner), Cached,
NoLocationInfo)