[all-commits] [llvm/llvm-project] 6cc6ad: [Demangle][Rust] Hide implementation details NFC

tmiasko via All-commits all-commits at lists.llvm.org
Wed Jun 23 09:30:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6cc6ada143236f16faf8b383d73e00e709fa6a9f
      https://github.com/llvm/llvm-project/commit/6cc6ada143236f16faf8b383d73e00e709fa6a9f
  Author: Tomasz Miąsko <tomasz.miasko at gmail.com>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    R llvm/include/llvm/Demangle/RustDemangle.h
    M llvm/lib/Demangle/RustDemangle.cpp

  Log Message:
  -----------
  [Demangle][Rust] Hide implementation details NFC

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.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D104362




More information about the All-commits mailing list