[all-commits] [llvm/llvm-project] b18492: [llvm-dwarfdump] Interface cleanup. NFC

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Apr 10 09:25:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b1849231517e05640887714c8174a5bdb8bee950
      https://github.com/llvm/llvm-project/commit/b1849231517e05640887714c8174a5bdb8bee950
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M llvm/tools/llvm-dwarfdump/SectionSizes.cpp
    R llvm/tools/llvm-dwarfdump/SectionSizes.h
    M llvm/tools/llvm-dwarfdump/Statistics.cpp
    M llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
    A llvm/tools/llvm-dwarfdump/llvm-dwarfdump.h

  Log Message:
  -----------
  [llvm-dwarfdump] Interface cleanup. NFC

This patch moves interface declarations into llvm-dwarfdump.h and wrap
declarations in anonymous namespaces as appropriate. At the same time,
the externals are moved into the `llvm::dwarfdump` namespace`.

Reviewed By: djtodoro

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




More information about the All-commits mailing list