]> granicus.if.org Git - clang/commitdiff
GCC 4.0 isn't happy with VISIBILITY_HIDDEN on a namespace.
authorChris Lattner <sabre@nondot.org>
Tue, 17 Mar 2009 22:24:01 +0000 (22:24 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Mar 2009 22:24:01 +0000 (22:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67112 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/HostInfo.cpp

index b98318dd26bf5d16490eb81b7d5b522bbcba4600..5fb9f9929ec6838659718f43c247e99a18bb3246 100644 (file)
@@ -33,7 +33,7 @@ HostInfo::HostInfo(const Driver &D, const char *_Arch, const char *_Platform,
 HostInfo::~HostInfo() {
 }
 
-namespace VISIBILITY_HIDDEN {
+namespace {
 
 // Darwin Host Info