From 1193bbf6b76b333069209f4f9224cb1f433f23ef Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 16 Jun 2018 13:37:52 +0000 Subject: Fix namespaces. No functionality change. llvm-svn: 334890 --- llvm/lib/Support/Unix/Signals.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Support') diff --git a/llvm/lib/Support/Unix/Signals.inc b/llvm/lib/Support/Unix/Signals.inc index f4e99266459..de26695d64e 100644 --- a/llvm/lib/Support/Unix/Signals.inc +++ b/llvm/lib/Support/Unix/Signals.inc @@ -86,6 +86,7 @@ using InterruptFunctionType = void (*)(); static std::atomic InterruptFunction = ATOMIC_VAR_INIT(nullptr); +namespace { /// Signal-safe removal of files. /// Inserting and erasing from the list isn't signal-safe, but removal of files /// themselves is signal-safe. Memory is freed when the head is freed, deletion @@ -194,6 +195,7 @@ struct FilesToRemoveCleanup { delete Head; } }; +} // namespace static StringRef Argv0; -- cgit v1.2.3