mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fixed an apparent typo in demangleImplConvention
Fixed an apparent typo where two cases tested for the same lowercase 'd' pattern, resulting in one case never being used. According to the comment block, doc/ABI.rst and lib/AST/Mangle.cpp, the second case should be an uppercase 'D'.
This commit is contained in:
@@ -2157,7 +2157,7 @@ private:
|
||||
auto Nothing = StringRef();
|
||||
CASE('a', Nothing, Nothing, "@autoreleased")
|
||||
CASE('d', "@callee_unowned", "@unowned", "@unowned")
|
||||
CASE('d', Nothing, Nothing, "@unowned_inner_pointer")
|
||||
CASE('D', Nothing, Nothing, "@unowned_inner_pointer")
|
||||
CASE('g', "@callee_guaranteed", "@guaranteed", Nothing)
|
||||
CASE('e', Nothing, "@deallocating", Nothing)
|
||||
CASE('i', Nothing, "@in", "@out")
|
||||
|
||||
Reference in New Issue
Block a user