aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-10-10 19:58:03 -0700
committerFangrui Song <i@maskray.me>2023-10-10 19:58:03 -0700
commit2d854dd3e7c5a86ec5c37347ab326b8fa578d938 (patch)
tree0901c2b3ea72f04c422047cd8d4931dad16b019d /llvm/lib/LTO/LTO.cpp
parentf3c92a06b96a5302d4ed0a92c425efea7a41a16e (diff)
downloadllvm-2d854dd3e7c5a86ec5c37347ab326b8fa578d938.zip
llvm-2d854dd3e7c5a86ec5c37347ab326b8fa578d938.tar.gz
llvm-2d854dd3e7c5a86ec5c37347ab326b8fa578d938.tar.bz2
Move global namespace cl::opt inside llvm:: or internalize them
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r--llvm/lib/LTO/LTO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index 4a64aa4..214c2ef 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -74,7 +74,6 @@ namespace llvm {
cl::opt<bool> EnableLTOInternalization(
"enable-lto-internalization", cl::init(true), cl::Hidden,
cl::desc("Enable global value internalization in LTO"));
-}
/// Indicate we are linking with an allocator that supports hot/cold operator
/// new interfaces.
@@ -82,6 +81,7 @@ extern cl::opt<bool> SupportsHotColdNew;
/// Enable MemProf context disambiguation for thin link.
extern cl::opt<bool> EnableMemProfContextDisambiguation;
+} // namespace llvm
// Computes a unique hash for the Module considering the current list of
// export/import and other global analysis results.