From 55c06ae7afa3f862a6bb4a4441fe485c135f5b5e Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 11 Sep 2013 18:05:11 +0000 Subject: Revert "Give internal classes hidden visibility." It works with clang, but GCC has different rules so we can't make all of those hidden. This reverts commit r190534. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190536 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bitcode/Reader/BitcodeReader.h | 6 +++--- lib/Bitcode/Writer/ValueEnumerator.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/Bitcode') diff --git a/lib/Bitcode/Reader/BitcodeReader.h b/lib/Bitcode/Reader/BitcodeReader.h index f82f03f73e..b095447675 100644 --- a/lib/Bitcode/Reader/BitcodeReader.h +++ b/lib/Bitcode/Reader/BitcodeReader.h @@ -32,7 +32,7 @@ namespace llvm { // BitcodeReaderValueList Class //===----------------------------------------------------------------------===// -class LLVM_LIBRARY_VISIBILITY BitcodeReaderValueList { +class BitcodeReaderValueList { std::vector ValuePtrs; /// ResolveConstants - As we resolve forward-referenced constants, we add @@ -91,7 +91,7 @@ public: // BitcodeReaderMDValueList Class //===----------------------------------------------------------------------===// -class LLVM_LIBRARY_VISIBILITY BitcodeReaderMDValueList { +class BitcodeReaderMDValueList { std::vector MDValuePtrs; LLVMContext &Context; @@ -121,7 +121,7 @@ public: void AssignValue(Value *V, unsigned Idx); }; -class LLVM_LIBRARY_VISIBILITY BitcodeReader : public GVMaterializer { +class BitcodeReader : public GVMaterializer { LLVMContext &Context; Module *TheModule; MemoryBuffer *Buffer; diff --git a/lib/Bitcode/Writer/ValueEnumerator.h b/lib/Bitcode/Writer/ValueEnumerator.h index f208eb3407..d1ca15f45d 100644 --- a/lib/Bitcode/Writer/ValueEnumerator.h +++ b/lib/Bitcode/Writer/ValueEnumerator.h @@ -34,7 +34,7 @@ class ValueSymbolTable; class MDSymbolTable; class raw_ostream; -class LLVM_LIBRARY_VISIBILITY ValueEnumerator { +class ValueEnumerator { public: typedef std::vector TypeList; -- cgit v1.2.3