aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/modules.cc
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-03-31 23:07:29 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-03-31 23:08:23 +0200
commit1c16f7fc903c1c1c912faf7889b69d83429b7b2e (patch)
tree0c89e976db9499401904b1282b7bf351845e9f44 /gcc/d/modules.cc
parent63b2923dc6f57e74d964a9cf14f4ba595ab14ed9 (diff)
downloadgcc-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