[all-commits] [llvm/llvm-project] be2f67: [BOLT][NFC] Replace anonymous namespace functions ...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Feb 6 18:06:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be2f67c4d87deb513ba200ab3f4dba385faf709a
      https://github.com/llvm/llvm-project/commit/be2f67c4d87deb513ba200ab3f4dba385faf709a
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

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

  Log Message:
  -----------
  [BOLT][NFC] Replace anonymous namespace functions with static

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

Reviewed By: #bolt, maksfb

Differential Revision: https://reviews.llvm.org/D143124




More information about the All-commits mailing list