[PATCH] D92851: [DebugInfo][NFC] Refactor BinOp and GEP salvaging in salvageDebugInfoImpl out to separate functions
Stephen Tozer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 10 10:06:41 PST 2020
StephenTozer added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/Local.cpp:1828
+bool getSalvageOpsForGEP(GetElementPtrInst *GEP, const DataLayout &DL,
+ SmallVectorImpl<uint64_t> &Opcodes) {
----------------
MaskRay wrote:
> 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() { ... }`
I believe this only applies to functions declared in the header; this new batch of functions are not declared in a header, or even earlier within this source (this is the declaration).
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