[all-commits] [llvm/llvm-project] 2dc4a8: [objcopy][NFC] Move NameOrPattern::create() into C...

avl-llvm via All-commits all-commits at lists.llvm.org
Wed Mar 9 02:04:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dc4a80ec026e0870106bcfa6def90a64c8d7d90
      https://github.com/llvm/llvm-project/commit/2dc4a80ec026e0870106bcfa6def90a64c8d7d90
  Author: Alexey Lapshin <a.v.lapshin at mail.ru>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M llvm/lib/ObjCopy/CMakeLists.txt
    A llvm/lib/ObjCopy/CommonConfig.cpp
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
    M llvm/unittests/ObjCopy/ObjCopyTest.cpp

  Log Message:
  -----------
  [objcopy][NFC] Move NameOrPattern::create() into CommonConfig.h

While moving objcopy into separate library(D88827), NameOrPattern::create()
was mistakenly placed into ObjcopyOptions.cpp. This patch moves
the NameOrPattern::create() into CommonConfig.h. Additionally it adds
test for using NameOrPattern.

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




More information about the All-commits mailing list