NFC: Correct a declaration in TypeCheckerTypeIDZone.def.

This commit is contained in:
Allan Shortlidge
2023-09-25 23:19:27 -07:00
parent c92f6af7a8
commit 8d90d85c57
4 changed files with 5 additions and 3 deletions

View File

@@ -4405,7 +4405,7 @@ class SerializeAttrGenericSignatureRequest
: public SimpleRequest<SerializeAttrGenericSignatureRequest,
GenericSignature(const AbstractFunctionDecl *,
SpecializeAttr *),
RequestFlags::Cached> {
RequestFlags::SeparatelyCached> {
public:
using SimpleRequest::SimpleRequest;

View File

@@ -501,5 +501,5 @@ SWIFT_REQUEST(TypeChecker, ExpandChildTypeRefinementContextsRequest,
bool(Decl *, TypeRefinementContext *),
Cached, NoLocationInfo)
SWIFT_REQUEST(TypeChecker, SerializeAttrGenericSignatureRequest,
bool(Decl *, SpecializeAttr *),
Cached, NoLocationInfo)
GenericSignature(Decl *, SpecializeAttr *),
SeparatelyCached, NoLocationInfo)

View File

@@ -8,6 +8,7 @@ add_swift_unittest(SwiftClangImporterTests
target_link_libraries(SwiftClangImporterTests
PRIVATE
swiftClangImporter
swiftSema
swiftParse
swiftAST
)

View File

@@ -7,4 +7,5 @@ add_swift_unittest(SwiftDriverTests
target_link_libraries(SwiftDriverTests PRIVATE
swiftAST
swiftClangImporter
swiftSema
swiftDriver)