[llvm] [memprof] Introduce writeMemProf (NFC) (PR #87698)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 4 13:25:00 PDT 2024
================
@@ -414,6 +414,145 @@ static void setSummary(IndexedInstrProf::Summary *TheSummary,
TheSummary->setEntry(I, Res[I]);
}
+namespace {
----------------
snehasish wrote:
The LLVM style guide prefers static functions over anonymous namespaces.
https://llvm.org/docs/CodingStandards.html#anonymous-namespaces
[My comment on a previous PR was not accurate, sorry for the confusion]
https://github.com/llvm/llvm-project/pull/87698
More information about the llvm-commits
mailing list