d: Add always_inline to the internal attribute table.
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 31 Mar 2020 21:07:29 +0000 (23:07 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Tue, 31 Mar 2020 21:08:23 +0000 (23:08 +0200)
commit1c16f7fc903c1c1c912faf7889b69d83429b7b2e
tree0c89e976db9499401904b1282b7bf351845e9f44
parent63b2923dc6f57e74d964a9cf14f4ba595ab14ed9
d: Add always_inline to the internal attribute table.

This attribute is not directly accessible from user code, rather it is
indirectly added from the @forceinline attribute.  Even so, a handler
should be present for it to prevent false positive warnings.

Said warnings are not something that could happen currently, but will
become a problem from fixing PR90136 later.

gcc/d/ChangeLog:

* d-attribs.cc (d_langhook_common_attribute_table): Add always_inline.
(handle_always_inline_attribute): New function.
gcc/d/ChangeLog
gcc/d/d-attribs.cc