[PATCH] D89713: [llvm-objcopy] extract arg parsing logic to function
    Alexander Shaposhnikov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct 20 19:11:01 PDT 2020
    
    
  
alexshap added inline comments.
================
Comment at: llvm/tools/llvm-objcopy/llvm-objcopy.cpp:66
 
+Expected<DriverConfig> getDriverConfig(ArrayRef<const char *> Args) {
+  StringRef Stem = sys::path::stem(ToolName);
----------------
nit: static (since this function is not used outside o llvm-objcopy.cpp)
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89713/new/
https://reviews.llvm.org/D89713
    
    
More information about the llvm-commits
mailing list