Driver: GCC 4.0 isn't happy with VISIBILITY_HIDDEN on a namespace.

llvm-svn: 67110
This commit is contained in:
Daniel Dunbar 2009-03-17 22:18:43 +00:00
parent 5903d8c08a
commit 15abb2ee0e
2 changed files with 9 additions and 9 deletions

View File

@ -20,12 +20,12 @@
namespace clang { namespace clang {
namespace driver { namespace driver {
namespace toolchains VISIBILITY_HIDDEN { namespace toolchains {
/// Generic_GCC - A tool chain using the 'gcc' command to perform /// Generic_GCC - A tool chain using the 'gcc' command to perform
/// all subcommands; this relies on gcc translating the majority of /// all subcommands; this relies on gcc translating the majority of
/// command line options. /// command line options.
class Generic_GCC : public ToolChain { class VISIBILITY_HIDDEN Generic_GCC : public ToolChain {
mutable llvm::DenseMap<unsigned, Tool*> Tools; mutable llvm::DenseMap<unsigned, Tool*> Tools;
public: public:

View File

@ -16,9 +16,9 @@
namespace clang { namespace clang {
namespace driver { namespace driver {
namespace tools VISIBILITY_HIDDEN { namespace tools {
class Clang : public Tool { class VISIBILITY_HIDDEN Clang : public Tool {
public: public:
Clang(const ToolChain &TC) : Tool(TC) {} Clang(const ToolChain &TC) : Tool(TC) {}
@ -27,7 +27,7 @@ namespace tools VISIBILITY_HIDDEN {
virtual bool hasIntegratedCPP() const { return true; } virtual bool hasIntegratedCPP() const { return true; }
}; };
class GCC_Preprocess : public Tool { class VISIBILITY_HIDDEN GCC_Preprocess : public Tool {
public: public:
GCC_Preprocess(const ToolChain &TC) : Tool(TC) {} GCC_Preprocess(const ToolChain &TC) : Tool(TC) {}
@ -36,7 +36,7 @@ namespace tools VISIBILITY_HIDDEN {
virtual bool hasIntegratedCPP() const { return false; } virtual bool hasIntegratedCPP() const { return false; }
}; };
class GCC_Precompile : public Tool { class VISIBILITY_HIDDEN GCC_Precompile : public Tool {
public: public:
GCC_Precompile(const ToolChain &TC) : Tool(TC) {} GCC_Precompile(const ToolChain &TC) : Tool(TC) {}
@ -45,7 +45,7 @@ namespace tools VISIBILITY_HIDDEN {
virtual bool hasIntegratedCPP() const { return true; } virtual bool hasIntegratedCPP() const { return true; }
}; };
class GCC_Compile : public Tool { class VISIBILITY_HIDDEN GCC_Compile : public Tool {
public: public:
GCC_Compile(const ToolChain &TC) : Tool(TC) {} GCC_Compile(const ToolChain &TC) : Tool(TC) {}
@ -54,7 +54,7 @@ namespace tools VISIBILITY_HIDDEN {
virtual bool hasIntegratedCPP() const { return true; } virtual bool hasIntegratedCPP() const { return true; }
}; };
class GCC_Assemble : public Tool { class VISIBILITY_HIDDEN GCC_Assemble : public Tool {
public: public:
GCC_Assemble(const ToolChain &TC) : Tool(TC) {} GCC_Assemble(const ToolChain &TC) : Tool(TC) {}
@ -63,7 +63,7 @@ namespace tools VISIBILITY_HIDDEN {
virtual bool hasIntegratedCPP() const { return false; } virtual bool hasIntegratedCPP() const { return false; }
}; };
class GCC_Link : public Tool { class VISIBILITY_HIDDEN GCC_Link : public Tool {
public: public:
GCC_Link(const ToolChain &TC) : Tool(TC) {} GCC_Link(const ToolChain &TC) : Tool(TC) {}