0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd::json: Relax attributes on grammar templates.

This commit is contained in:
Jason Volk 2020-06-24 09:24:49 -07:00
parent ff1d2c938c
commit c99ae124f4

View file

@ -482,8 +482,8 @@ noexcept
template<class gen, template<class gen,
class... attr> class... attr>
[[using gnu: always_inline, gnu_inline, artificial]] [[gnu::always_inline]]
extern inline void inline void
ircd::json::printer::operator()(mutable_buffer &out, ircd::json::printer::operator()(mutable_buffer &out,
gen&& g, gen&& g,
attr&&... a) attr&&... a)
@ -499,8 +499,8 @@ const
template<class it_a, template<class it_a,
class it_b, class it_b,
class closure> class closure>
[[using gnu: always_inline, gnu_inline, artificial]] [[gnu::always_inline]]
extern inline void inline void
ircd::json::printer::list_protocol(mutable_buffer &out, ircd::json::printer::list_protocol(mutable_buffer &out,
it_a it, it_a it,
const it_b &end, const it_b &end,
@ -520,8 +520,8 @@ ircd::json::printer::list_protocol(mutable_buffer &out,
template<class gen, template<class gen,
class... attr> class... attr>
[[using gnu: always_inline, gnu_inline, artificial]] [[gnu::always_inline]]
extern inline bool inline bool
ircd::json::parser::operator()(const char *const &start_, ircd::json::parser::operator()(const char *const &start_,
const char *const &stop, const char *const &stop,
gen&& g, gen&& g,
@ -534,8 +534,8 @@ const
template<class gen, template<class gen,
class... attr> class... attr>
[[using gnu: always_inline, gnu_inline, artificial]] [[gnu::always_inline]]
extern inline bool inline bool
ircd::json::parser::operator()(const char *&start, ircd::json::parser::operator()(const char *&start,
const char *const &stop, const char *const &stop,
gen&& g, gen&& g,
@ -545,6 +545,7 @@ const
return ircd::parse<parse_error>(start, stop, std::forward<gen>(g), std::forward<attr>(a)...); return ircd::parse<parse_error>(start, stop, std::forward<gen>(g), std::forward<attr>(a)...);
} }
[[gnu::noinline]]
void void
ircd::json::parser::throws_exceeded() ircd::json::parser::throws_exceeded()
{ {