diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-03-31 23:07:29 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-03-31 23:08:23 +0200 |
commit | 1c16f7fc903c1c1c912faf7889b69d83429b7b2e (patch) | |
tree | 0c89e976db9499401904b1282b7bf351845e9f44 /gcc/d/modules.cc | |
parent | 63b2923dc6f57e74d964a9cf14f4ba595ab14ed9 (diff) | |
download | gcc-1c16f7fc903c1c1c912faf7889b69d83429b7b2e.zip gcc-1c16f7fc903c1c1c912faf7889b69d83429b7b2e.tar.gz gcc-1c16f7fc903c1c1c912faf7889b69d83429b7b2e.tar.bz2 |
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.
Diffstat (limited to 'gcc/d/modules.cc')
0 files changed, 0 insertions, 0 deletions