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 | 55c06ae7afa3f862a6bb4a4441fe485c135f5b5e (patch) | |
tree | 69baf1b1251ad67c8f31ea6f02243d85c9558ada /lib/Bitcode | |
parent | ff058f0a701b601f1593f2a9c8030acb652fdba6 (diff) | |
download | external_llvm-55c06ae7afa3f862a6bb4a4441fe485c135f5b5e.zip external_llvm-55c06ae7afa3f862a6bb4a4441fe485c135f5b5e.tar.gz external_llvm-55c06ae7afa3f862a6bb4a4441fe485c135f5b5e.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r-- | lib/Bitcode/Reader/BitcodeReader.h | 6 | ||||
-rw-r--r-- | lib/Bitcode/Writer/ValueEnumerator.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.h b/lib/Bitcode/Reader/BitcodeReader.h index f82f03f..b095447 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<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/lib/Bitcode/Writer/ValueEnumerator.h b/lib/Bitcode/Writer/ValueEnumerator.h index f208eb3..d1ca15f 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<Type*> TypeList; |