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/IR/AttributeImpl.h | |
parent | ff058f0a701b601f1593f2a9c8030acb652fdba6 (diff) |
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/IR/AttributeImpl.h')
-rw-r--r-- | lib/IR/AttributeImpl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/IR/AttributeImpl.h b/lib/IR/AttributeImpl.h index ac7379b00e7..9da3f9659e0 100644 --- a/lib/IR/AttributeImpl.h +++ b/lib/IR/AttributeImpl.h @@ -29,7 +29,7 @@ class LLVMContext; /// \class /// \brief This class represents a single, uniqued attribute. That attribute /// could be a single enum, a tuple, or a string. -class LLVM_LIBRARY_VISIBILITY AttributeImpl : public FoldingSetNode { +class AttributeImpl : public FoldingSetNode { unsigned char KindID; ///< Holds the AttrEntryKind of the attribute // AttributesImpl is uniqued, these should not be publicly available. @@ -93,7 +93,7 @@ public: /// represented by Attribute::AttrKind; alignment attribute entries; and string /// attribute enties, which are for target-dependent attributes. -class LLVM_LIBRARY_VISIBILITY EnumAttributeImpl : public AttributeImpl { +class EnumAttributeImpl : public AttributeImpl { Attribute::AttrKind Kind; protected: @@ -107,7 +107,7 @@ public: Attribute::AttrKind getEnumKind() const { return Kind; } }; -class LLVM_LIBRARY_VISIBILITY AlignAttributeImpl : public EnumAttributeImpl { +class AlignAttributeImpl : public EnumAttributeImpl { unsigned Align; public: @@ -121,7 +121,7 @@ public: unsigned getAlignment() const { return Align; } }; -class LLVM_LIBRARY_VISIBILITY StringAttributeImpl : public AttributeImpl { +class StringAttributeImpl : public AttributeImpl { std::string Kind; std::string Val; @@ -137,7 +137,7 @@ public: /// \class /// \brief This class represents a group of attributes that apply to one /// element: function, return type, or parameter. -class LLVM_LIBRARY_VISIBILITY AttributeSetNode : public FoldingSetNode { +class AttributeSetNode : public FoldingSetNode { unsigned NumAttrs; ///< Number of attributes in this node. AttributeSetNode(ArrayRef<Attribute> Attrs) : NumAttrs(Attrs.size()) { @@ -180,7 +180,7 @@ public: /// \class /// \brief This class represents a set of attributes that apply to the function, /// return type, and parameters. -class LLVM_LIBRARY_VISIBILITY AttributeSetImpl : public FoldingSetNode { +class AttributeSetImpl : public FoldingSetNode { friend class AttributeSet; LLVMContext &Context; |