[PATCH] D92851: [DebugInfo][NFC] Refactor BinOp and GEP salvaging in salvageDebugInfoImpl out to separate functions
    Fangrui Song via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Dec  8 14:51:06 PST 2020
    
    
  
MaskRay added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/Local.cpp:1828
 
+bool getSalvageOpsForGEP(GetElementPtrInst *GEP, const DataLayout &DL,
+                         SmallVectorImpl<uint64_t> &Opcodes) {
----------------
https://llvm.org/docs/CodingStandards.html#use-namespace-qualifiers-to-implement-previously-declared-functions
Functions should either be static or namespace qualified (like `bool llvm::foobar() { ... }`
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92851/new/
https://reviews.llvm.org/D92851
    
    
More information about the llvm-commits
mailing list