This is an archive of the discontinued LLVM Phabricator instance.

[Demangle][Rust] Parse pointer types
ClosedPublic

Authored by tmiasko on May 16 2021, 7:09 AM.

Diff Detail

Event Timeline

tmiasko created this revision.May 16 2021, 7:09 AM
tmiasko requested review of this revision.May 16 2021, 7:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 16 2021, 7:09 AM
dblaikie added inline comments.May 16 2021, 10:28 AM
llvm/test/Demangle/rust.test
178–179

The changes in which features are used to test (for instance in the previous patch/tests - for "T" in this similar context, generic args ("p"/"_") were used, but this one uses u8 - it'd be good to be consistent unless there's a particular reason for the variation (in which case maybe a comment explaining what's significant, or not, about these cases, would be useful).

(similarly back to the 'A' and 'S' productions in the types set, further up)

tmiasko updated this revision to Diff 345885.May 17 2021, 8:05 AM
tmiasko marked an inline comment as done.

Use a placeholder type in tests.

dblaikie accepted this revision.May 21 2021, 5:05 PM

Looks good, thanks!

Probably good to commit these as separate changes, since they seem independent.

This revision is now accepted and ready to land.May 21 2021, 5:05 PM