[all-commits] [llvm/llvm-project] 30299b: [CommandLine] Avoid ManagedStatic.h include (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jun 21 06:45:44 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 30299b87171cbad2dacb8b1ec0e75801785f16d9
https://github.com/llvm/llvm-project/commit/30299b87171cbad2dacb8b1ec0e75801785f16d9
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Frontend/PrecompiledPreamble.cpp
M lldb/utils/TableGen/LLDBTableGen.cpp
M llvm/include/llvm/Support/CommandLine.h
M llvm/lib/Support/CommandLine.cpp
M llvm/lib/Support/RandomNumberGenerator.cpp
M llvm/lib/Support/TypeSize.cpp
Log Message:
-----------
[CommandLine] Avoid ManagedStatic.h include (NFC)
The two variables using ManagedStatic that are exported by this
header are not actually used anywhere -- they are used through
SubCommand::getTopLevel() and SubCommand::getAll() instead.
Drop the extern declarations and the include.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list