mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Made use of @warn_unused_result a warning with a fixit (#2760)
https://bugs.swift.org/browse/SR-1052
This commit is contained in:
committed by
Jordan Rose
parent
e62d939a69
commit
78a420d850
@@ -1376,14 +1376,6 @@ namespace decls_block {
|
||||
BCBlob // rename, followed by message
|
||||
>;
|
||||
|
||||
using WarnUnusedResultDeclAttrLayout = BCRecordLayout<
|
||||
WarnUnusedResult_DECL_ATTR,
|
||||
BCFixed<1>, // implicit flag
|
||||
BCVBR<6>, // index at the end of the message,
|
||||
BCBlob // blob contains the message and mutating-version
|
||||
// strings, separated by the prior index
|
||||
>;
|
||||
|
||||
using SpecializeDeclAttrLayout = BCRecordLayout<
|
||||
Specialize_DECL_ATTR,
|
||||
BCArray<TypeIDField> // concrete types
|
||||
|
||||
Reference in New Issue
Block a user