From: Chris Lattner Date: Tue, 17 Mar 2009 22:24:01 +0000 (+0000) Subject: GCC 4.0 isn't happy with VISIBILITY_HIDDEN on a namespace. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aae82f1a9110db0069bc61ec018dafe14e062872;p=clang 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 --- 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