Merge pull request #15084 from amosbird/lef

Don't hide interface symbols
This commit is contained in:
Nikolai Kochetov 2020-09-21 17:07:52 +03:00 committed by GitHub
commit 0f3eab1e48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,6 @@ namespace ErrorCodes
namespace GatherUtils namespace GatherUtils
{ {
#pragma GCC visibility push(hidden)
struct IArraySink struct IArraySink
{ {
@ -25,6 +24,8 @@ struct IArraySink
} }
}; };
#pragma GCC visibility push(hidden)
template <typename Derived> template <typename Derived>
class ArraySinkImpl : public Visitable<Derived, IArraySink, ArraySinkVisitor> {}; class ArraySinkImpl : public Visitable<Derived, IArraySink, ArraySinkVisitor> {};

View File

@ -13,7 +13,6 @@ namespace ErrorCodes
namespace GatherUtils namespace GatherUtils
{ {
#pragma GCC visibility push(hidden)
struct IArraySource struct IArraySource
{ {
@ -31,6 +30,8 @@ struct IArraySource
} }
}; };
#pragma GCC visibility push(hidden)
template <typename Derived> template <typename Derived>
class ArraySourceImpl : public Visitable<Derived, IArraySource, ArraySourceVisitor> {}; class ArraySourceImpl : public Visitable<Derived, IArraySource, ArraySourceVisitor> {};

View File

@ -13,7 +13,6 @@ namespace ErrorCodes
namespace GatherUtils namespace GatherUtils
{ {
#pragma GCC visibility push(hidden)
struct IValueSource struct IValueSource
{ {
@ -27,6 +26,8 @@ struct IValueSource
virtual bool isConst() const { return false; } virtual bool isConst() const { return false; }
}; };
#pragma GCC visibility push(hidden)
template <typename Derived> template <typename Derived>
class ValueSourceImpl : public Visitable<Derived, IValueSource, ValueSourceVisitor> {}; class ValueSourceImpl : public Visitable<Derived, IValueSource, ValueSourceVisitor> {};