I got tired of VISIBILITY_HIDDEN colliding with the gcc enum. Rename it

to LLVM_LIBRARY_VISIBILITY and introduce LLVM_GLOBAL_VISIBILITY, which is
the opposite, for future use by dragonegg.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103495 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands
2010-05-11 20:16:09 +00:00
parent 124b55dded
commit 16d8f8bd91
13 changed files with 28 additions and 19 deletions

View File

@@ -617,7 +617,7 @@ conforms to the binary interface defined by library, most essentially the
using namespace llvm;
namespace {
class VISIBILITY_HIDDEN MyGC : public GCStrategy {
class LLVM_LIBRARY_VISIBILITY MyGC : public GCStrategy {
public:
MyGC() {}
};
@@ -1229,7 +1229,7 @@ generation in the JIT, nor using the object writers.</p>
using namespace llvm;
namespace {
class VISIBILITY_HIDDEN MyGCPrinter : public GCMetadataPrinter {
class LLVM_LIBRARY_VISIBILITY MyGCPrinter : public GCMetadataPrinter {
public:
virtual void beginAssembly(std::ostream &amp;OS, AsmPrinter &amp;AP,
const TargetAsmInfo &amp;TAI);