diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-11 18:05:11 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-11 18:05:11 +0000 |
commit | 079b96e6f7f3948d06d57937cd5068cbbd790ab0 (patch) | |
tree | 937025d8ebbcdac824652a8a17860f85cb77e063 /llvm/lib/Bitcode | |
parent | 9aeba4963aa61503d1542808eb1cd2b647646767 (diff) | |
download | llvm-079b96e6f7f3948d06d57937cd5068cbbd790ab0.zip llvm-079b96e6f7f3948d06d57937cd5068cbbd790ab0.tar.gz llvm-079b96e6f7f3948d06d57937cd5068cbbd790ab0.tar.bz2 |
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.
llvm-svn: 190536
Diffstat (limited to 'llvm/lib/Bitcode')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.h | 6 | ||||
-rw-r--r-- | llvm/lib/Bitcode/Writer/ValueEnumerator.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.h b/llvm/lib/Bitcode/Reader/BitcodeReader.h index f82f03f..b095447 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.h +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.h @@ -32,7 +32,7 @@ namespace llvm { // BitcodeReaderValueList Class //===----------------------------------------------------------------------===// -class LLVM_LIBRARY_VISIBILITY BitcodeReaderValueList { +class BitcodeReaderValueList { std::vector<WeakVH> 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<WeakVH> 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/llvm/lib/Bitcode/Writer/ValueEnumerator.h b/llvm/lib/Bitcode/Writer/ValueEnumerator.h index f208eb3..d1ca15f 100644 --- a/llvm/lib/Bitcode/Writer/ValueEnumerator.h +++ b/llvm/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<Type*> TypeList; |