more [[gnu::...]] attributes

This commit is contained in:
Max Kellermann
2021-10-13 11:28:04 +02:00
parent 1c4b484a56
commit f510564d9d
135 changed files with 361 additions and 514 deletions
+1 -2
View File
@@ -32,7 +32,6 @@
#include "ConstBuffer.hxx"
#include "StringBuffer.hxx"
#include "Compiler.h"
#include <cstddef>
#include <cstdint>
@@ -53,7 +52,7 @@ HexFormat(char *dest, ConstBuffer<uint8_t> src) noexcept;
* required size.
*/
template<size_t size>
gcc_pure
[[gnu::pure]]
auto
HexFormatBuffer(const uint8_t *src) noexcept
{