use [[gnu::...]] attributes

This commit is contained in:
Max Kellermann
2023-03-06 15:57:36 +01:00
parent 3b9aab0684
commit 42f6a0441c
101 changed files with 167 additions and 234 deletions

View File

@@ -36,7 +36,7 @@ InputStream::SetReady() noexcept
* seeking in a HTTP file requires opening a new connection with a new
* HTTP request.
*/
gcc_pure
[[gnu::pure]]
static bool
ExpensiveSeeking(const char *uri) noexcept
{