diff options
| author | Jakub Jelinek <jakub@redhat.com> | 2021-11-30 13:30:27 +0100 | 
|---|---|---|
| committer | Jakub Jelinek <jakub@redhat.com> | 2021-11-30 13:30:27 +0100 | 
| commit | 92084a6dcda8aaee538b4512bbaf161e1155a296 (patch) | |
| tree | 04e59f22c541a433b45fdb271f0956887843dfdf /libcpp/files.c | |
| parent | 365cd5f9ba812c389b404a53d99ab5dded5097f4 (diff) | |
| download | gcc-92084a6dcda8aaee538b4512bbaf161e1155a296.zip gcc-92084a6dcda8aaee538b4512bbaf161e1155a296.tar.gz gcc-92084a6dcda8aaee538b4512bbaf161e1155a296.tar.bz2  | |
libstdc++: Add [[nodiscard]] to std::byteswap
This patch adds [[nodiscard]] to std::byteswap, because the function
template doesn't do anything useful if the result isn't used.
2021-11-30  Jakub Jelinek  <jakub@redhat.com>
	* include/std/bit (byteswap): Add [[nodiscard]].
Diffstat (limited to 'libcpp/files.c')
0 files changed, 0 insertions, 0 deletions
