[PATCH] D104362: [Demangle][Rust] Hide implementation details NFC

Tomasz Miąsko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 16 01:22:06 PDT 2021


tmiasko created this revision.
tmiasko added a reviewer: dblaikie.
Herald added subscribers: JDevlieghere, hiraditya.
tmiasko requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104362

Files:
  llvm/include/llvm/Demangle/RustDemangle.h
  llvm/lib/Demangle/RustDemangle.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104362.352368.patch
Type: text/x-patch
Size: 12145 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210616/0886fbe7/attachment.bin>


More information about the llvm-commits mailing list