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/IR/LLVMContextImpl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/IR/LLVMContextImpl.h') diff --git a/lib/IR/LLVMContextImpl.h b/lib/IR/LLVMContextImpl.h index d56616676c..0c659b81b7 100644 --- a/lib/IR/LLVMContextImpl.h +++ b/lib/IR/LLVMContextImpl.h @@ -41,7 +41,7 @@ class LLVMContext; class Type; class Value; -struct LLVM_LIBRARY_VISIBILITY DenseMapAPIntKeyInfo { +struct DenseMapAPIntKeyInfo { struct KeyTy { APInt val; Type* type; @@ -66,7 +66,7 @@ struct LLVM_LIBRARY_VISIBILITY DenseMapAPIntKeyInfo { } }; -struct LLVM_LIBRARY_VISIBILITY DenseMapAPFloatKeyInfo { +struct DenseMapAPFloatKeyInfo { struct KeyTy { APFloat val; KeyTy(const APFloat& V) : val(V){} @@ -94,7 +94,7 @@ struct LLVM_LIBRARY_VISIBILITY DenseMapAPFloatKeyInfo { } }; -struct LLVM_LIBRARY_VISIBILITY AnonStructTypeKeyInfo { +struct AnonStructTypeKeyInfo { struct KeyTy { ArrayRef ETypes; bool isPacked; @@ -138,7 +138,7 @@ struct LLVM_LIBRARY_VISIBILITY AnonStructTypeKeyInfo { } }; -struct LLVM_LIBRARY_VISIBILITY FunctionTypeKeyInfo { +struct FunctionTypeKeyInfo { struct KeyTy { const Type *ReturnType; ArrayRef Params; @@ -209,7 +209,7 @@ template<> struct FoldingSetTrait : DefaultFoldingSetTrait { /// DebugRecVH - This is a CallbackVH used to keep the Scope -> index maps /// up to date as MDNodes mutate. This class is implemented in DebugLoc.cpp. -class LLVM_LIBRARY_VISIBILITY DebugRecVH : public CallbackVH { +class DebugRecVH : public CallbackVH { /// Ctx - This is the LLVM Context being referenced. LLVMContextImpl *Ctx; @@ -230,7 +230,7 @@ public: virtual void allUsesReplacedWith(Value *VNew); }; -class LLVM_LIBRARY_VISIBILITY LLVMContextImpl { +class LLVMContextImpl { public: /// OwnedModules - The set of modules instantiated in this context, and which /// will be automatically deleted if this context is deleted. -- cgit v1.2.3