mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[Demangle][Rust] Parse slice type
Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D102578
This commit is contained in:
parent
52d80831c8
commit
b7d704310d
@ -436,6 +436,11 @@ void Demangler::demangleType() {
|
||||
demangleConst();
|
||||
print("]");
|
||||
break;
|
||||
case 'S':
|
||||
print("[");
|
||||
demangleType();
|
||||
print("]");
|
||||
break;
|
||||
default:
|
||||
Position = Start;
|
||||
demanglePath(InType::Yes);
|
||||
|
@ -160,6 +160,9 @@ CHECK: named::<Name<>>
|
||||
CHECK: types::<[u8; 0]>
|
||||
_RIC5typesAhj0_E
|
||||
|
||||
CHECK: types::<[_]>
|
||||
_RIC5typesSpE
|
||||
|
||||
; Integer constants. Test value demangling.
|
||||
|
||||
CHECK: integer::<0>
|
||||
|
Loading…
Reference in New Issue
Block a user