aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/HostInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-17 22:24:01 +0000
committerChris Lattner <sabre@nondot.org>2009-03-17 22:24:01 +0000
commitaae82f1a9110db0069bc61ec018dafe14e062872 (patch)
treea9ef8c4ab57674f455364b3d9157300d0683fc67 /lib/Driver/HostInfo.cpp
parent985b825eea7387be10478de0430815ed6a673326 (diff)
GCC 4.0 isn't happy with VISIBILITY_HIDDEN on a namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/HostInfo.cpp')
-rw-r--r--lib/Driver/HostInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/HostInfo.cpp b/lib/Driver/HostInfo.cpp
index b98318dd26..5fb9f9929e 100644
--- a/lib/Driver/HostInfo.cpp
+++ b/lib/Driver/HostInfo.cpp
@@ -33,7 +33,7 @@ HostInfo::HostInfo(const Driver &D, const char *_Arch, const char *_Platform,
HostInfo::~HostInfo() {
}
-namespace VISIBILITY_HIDDEN {
+namespace {
// Darwin Host Info