[all-commits] [llvm/llvm-project] 3110ac: [NFC][llvm-readobj] Refactor unique warning handler

James Henderson via All-commits all-commits at lists.llvm.org
Thu Mar 26 02:55:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3110ac15c5133acdf53221fa1c26d44dbc968d4c
      https://github.com/llvm/llvm-project/commit/3110ac15c5133acdf53221fa1c26d44dbc968d4c
  Author: James Henderson <james.henderson at sony.com>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [NFC][llvm-readobj] Refactor unique warning handler

The unique warning handler was previously a property of the dump style,
but it is commonly used in the dumper too. Since the two ELF output
styles have no impact on the way warnings are printed, this patch moves
the handler and related functions into the dumper class, instead of the
dump style class.

Reviewed by: MaskRay, grimar

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




More information about the All-commits mailing list