This is an archive of the discontinued LLVM Phabricator instance.

[Demangle][Rust] Hide implementation details NFC
ClosedPublic

Authored by tmiasko on Jun 16 2021, 1:22 AM.

Details

Summary

Move content of the "public" header into the implementation file.

This also renames two enumerations that were previously used through
rust_demangle:: scope, to avoid breaking a build bot with older
version of GCC that rejects uses of enumerator through E::A if there
is a variable with the same name as enumeration E in the scope.

Diff Detail

Event Timeline

tmiasko created this revision.Jun 16 2021, 1:22 AM
tmiasko requested review of this revision.Jun 16 2021, 1:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2021, 1:22 AM
dblaikie accepted this revision.Jun 18 2021, 12:05 PM

Sounds alright

This revision is now accepted and ready to land.Jun 18 2021, 12:05 PM
This revision was automatically updated to reflect the committed changes.