0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-27 06:50:01 +01:00

ircd::json: Remove flatten; stricter visibility.

This commit is contained in:
Jason Volk 2020-07-19 21:03:27 -07:00
parent ef3f63ec95
commit d3007544e9

View file

@ -58,7 +58,7 @@ __attribute__((visibility("default")))
namespace ircd { namespace ircd {
namespace spirit namespace spirit
__attribute__((visibility("hidden"))) __attribute__((visibility("internal")))
{ {
namespace phx = boost::phoenix; namespace phx = boost::phoenix;
namespace fusion = boost::fusion; namespace fusion = boost::fusion;
@ -337,7 +337,7 @@ ircd::spirit::generator_state
template<bool truncation, template<bool truncation,
class gen, class gen,
class... attr> class... attr>
[[using gnu: flatten, always_inline, gnu_inline]] [[using gnu: always_inline, gnu_inline]]
extern inline bool extern inline bool
ircd::spirit::generate(mutable_buffer &out, ircd::spirit::generate(mutable_buffer &out,
gen&& g, gen&& g,
@ -402,7 +402,7 @@ template<class parent_error,
size_t error_show_max, size_t error_show_max,
class gen, class gen,
class... attr> class... attr>
[[using gnu: flatten, always_inline, gnu_inline]] [[using gnu: always_inline, gnu_inline, artificial]]
extern inline bool extern inline bool
ircd::spirit::parse(const char *&start, ircd::spirit::parse(const char *&start,
const char *const &stop, const char *const &stop,
@ -422,7 +422,7 @@ catch(const qi::expectation_failure<const char *> &e)
template<class gen, template<class gen,
class... attr> class... attr>
[[using gnu: flatten, always_inline, gnu_inline]] [[using gnu: always_inline, gnu_inline, artificial]]
extern inline bool extern inline bool
ircd::spirit::parse(const char *&start, ircd::spirit::parse(const char *&start,
const char *const &stop, const char *const &stop,