HomePhabricator

[LTO] Replace anonymous namespace with static functions (NFC).

Authored by fhahn on Jan 13 2021, 1:02 AM.

Description

[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.

Details

Committed
fhahnJan 13 2021, 1:32 AM
Parents
rGcbea6737d513: [clang][driver] Restore the original help text for `-I`
Branches
Unknown
Tags
Unknown