[PATCH] D143124: [BOLT][NFC] Replace anonymous namespace functions with static

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 17:20:22 PST 2023


Amir created this revision.
Amir added a reviewer: bolt.
Herald added a reviewer: rafauler.
Herald added subscribers: treapster, ayermolo.
Herald added a reviewer: maksfb.
Herald added a project: All.
Amir requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

Follow LLVM Coding Standards guideline on using anonymous namespaces
(https://llvm.org/docs/CodingStandards.html#anonymous-namespaces)
and use `static` modifier for function definitions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143124

Files:
  bolt/lib/Core/BinaryFunction.cpp
  bolt/lib/Core/DebugData.cpp
  bolt/lib/Core/Relocation.cpp
  bolt/lib/Passes/Aligner.cpp
  bolt/lib/Passes/AllocCombiner.cpp
  bolt/lib/Passes/BinaryPasses.cpp
  bolt/lib/Passes/CallGraph.cpp
  bolt/lib/Passes/IdenticalCodeFolding.cpp
  bolt/lib/Passes/Instrumentation.cpp
  bolt/lib/Passes/LongJmp.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143124.494121.patch
Type: text/x-patch
Size: 21516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230202/7611ead3/attachment.bin>


More information about the llvm-commits mailing list