[all-commits] [llvm/llvm-project] f638c2: [LTO] Replace anonymous namespace with static func...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Jan 13 01:37:48 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f638c2eb4ee6d0a0bd0e80cd305ad93e382db8f5
https://github.com/llvm/llvm-project/commit/f638c2eb4ee6d0a0bd0e80cd305ad93e382db8f5
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-01-13 (Wed, 13 Jan 2021)
Changed paths:
M llvm/lib/LTO/LTOBackend.cpp
Log Message:
-----------
[LTO] Replace anonymous namespace with static functions (NFC).
Only class declarations should be inside anonymous namespaces
(https://llvm.org/docs/CodingStandards.html#anonymous-namespaces)
Instead of using a anonymous namespace, just mark the functions in it as
static (some of them already were).
This simplifies the diff for D94486.
More information about the All-commits
mailing list