diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-17 22:18:43 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-17 22:18:43 +0000 |
commit | 985b825eea7387be10478de0430815ed6a673326 (patch) | |
tree | 55ca5fff9d99c0180ca8b2a2e4e57bd038f3da42 | |
parent | 9c073ff462eb75ccbb1c4446e21c148f3fc618e1 (diff) |
Driver: GCC 4.0 isn't happy with VISIBILITY_HIDDEN on a namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67110 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Driver/ToolChains.h | 4 | ||||
-rw-r--r-- | lib/Driver/Tools.h | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h index be476d78ed..c5e01ba5ac 100644 --- a/lib/Driver/ToolChains.h +++ b/lib/Driver/ToolChains.h @@ -20,12 +20,12 @@ namespace clang { namespace driver { -namespace toolchains VISIBILITY_HIDDEN { +namespace toolchains { /// Generic_GCC - A tool chain using the 'gcc' command to perform /// all subcommands; this relies on gcc translating the majority of /// command line options. -class Generic_GCC : public ToolChain { +class VISIBILITY_HIDDEN Generic_GCC : public ToolChain { mutable llvm::DenseMap<unsigned, Tool*> Tools; public: diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h index 71ca2e9008..6f6b3dffbc 100644 --- a/lib/Driver/Tools.h +++ b/lib/Driver/Tools.h @@ -16,9 +16,9 @@ namespace clang { namespace driver { -namespace tools VISIBILITY_HIDDEN { +namespace tools { - class Clang : public Tool { + class VISIBILITY_HIDDEN Clang : public Tool { public: Clang(const ToolChain &TC) : Tool(TC) {} @@ -27,7 +27,7 @@ namespace tools VISIBILITY_HIDDEN { virtual bool hasIntegratedCPP() const { return true; } }; - class GCC_Preprocess : public Tool { + class VISIBILITY_HIDDEN GCC_Preprocess : public Tool { public: GCC_Preprocess(const ToolChain &TC) : Tool(TC) {} @@ -36,7 +36,7 @@ namespace tools VISIBILITY_HIDDEN { virtual bool hasIntegratedCPP() const { return false; } }; - class GCC_Precompile : public Tool { + class VISIBILITY_HIDDEN GCC_Precompile : public Tool { public: GCC_Precompile(const ToolChain &TC) : Tool(TC) {} @@ -45,7 +45,7 @@ namespace tools VISIBILITY_HIDDEN { virtual bool hasIntegratedCPP() const { return true; } }; - class GCC_Compile : public Tool { + class VISIBILITY_HIDDEN GCC_Compile : public Tool { public: GCC_Compile(const ToolChain &TC) : Tool(TC) {} @@ -54,7 +54,7 @@ namespace tools VISIBILITY_HIDDEN { virtual bool hasIntegratedCPP() const { return true; } }; - class GCC_Assemble : public Tool { + class VISIBILITY_HIDDEN GCC_Assemble : public Tool { public: GCC_Assemble(const ToolChain &TC) : Tool(TC) {} @@ -63,7 +63,7 @@ namespace tools VISIBILITY_HIDDEN { virtual bool hasIntegratedCPP() const { return false; } }; - class GCC_Link : public Tool { + class VISIBILITY_HIDDEN GCC_Link : public Tool { public: GCC_Link(const ToolChain &TC) : Tool(TC) {} |