chore: iwyu headers (#3833)

This commit is contained in:
Charles Kerr 2022-09-21 18:34:18 -05:00 committed by GitHub
parent 243ab1058d
commit dd12fd010a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 19 additions and 18 deletions

View File

@ -4,6 +4,7 @@
// License text can be found in the licenses/ folder.
#include <algorithm> // std::copy_n()
#include <cctype>
#include <cstdio> /* fprintf() */
#include <iomanip>
#include <iostream>

View File

@ -13,6 +13,7 @@
#include <cstddef> // size_t
#include <cstdint> // uint64_t
#include <memory>
#include <utility> // for std::move()
#include <vector>
#include "transmission.h"

View File

@ -12,7 +12,6 @@
#include <climits> /* PATH_MAX */
#include <cstdint> /* SIZE_MAX */
#include <cstdio>
#include <cstring>
#include <string_view>
#include <string>
#include <vector>

View File

@ -6,6 +6,7 @@
#include <algorithm>
#include <array>
#include <cctype> // for isalpha()
#include <cstring>
#include <iterator> // for std::back_inserter
#include <string>
#include <string_view>

View File

@ -6,7 +6,6 @@
#include <algorithm>
#include <array>
#include <cerrno>
#include <chrono>
#include <string_view>
#include <utility>

View File

@ -5,6 +5,7 @@
#include <array>
#include <cerrno>
#include <chrono>
#include <cstdio>
#include <map>
#include <mutex>

View File

@ -6,7 +6,6 @@
#include <algorithm>
#include <array>
#include <cerrno>
#include <chrono>
#include <cstring>
#include <ctime>
#include <iterator>

View File

@ -6,7 +6,7 @@
#include <algorithm>
#include <array>
#include <chrono>
#include <cstring> /* memcpy */
#include <cstring> /* for strcspn() */
#include <ctime>
#include <memory>
#include <string>

View File

@ -4,6 +4,7 @@
// License text can be found in the licenses/ folder.
#include <algorithm> // std::find()
#include <cctype>
#include <functional>
#include <iterator>
#include <optional>

View File

@ -5,7 +5,6 @@
#include <algorithm>
#include <array>
#include <cctype>
#include <cerrno> // for EINVAL
#include <string>
#include <string_view>

View File

@ -1,16 +1,10 @@
/*
* This file Copyright © Transmission authors and contributors.
*
* It may be used under the 3-Clause BSD License, the GNU Public License v2,
* or v3, or any future license endorsed by Mnemosyne LLC.
*
*/
// This file Copyright © Transmission authors and contributors.
// It may be used under the 3-Clause BSD (SPDX: BSD-3-Clause),
// GPLv2 (SPDX: GPL-2.0-only), GPLv3 (SPDX: GPL-3.0-only),
// or any future license endorsed by Mnemosyne LLC.
// License text can be found in the licenses/ folder.
/*
* This file defines the public API for the libtransmission library.
* The other public API headers are variant.h and utils.h.
* Most of the remaining headers in libtransmission are private.
*/
// This file defines the public API for the libtransmission library.
#pragma once

View File

@ -3,6 +3,7 @@
// or any future license endorsed by Mnemosyne LLC.
// License text can be found in the licenses/ folder.
#include <chrono>
#include <condition_variable>
#include <functional>
#include <list>

View File

@ -5,6 +5,7 @@
#include <array>
#include <cerrno>
#include <chrono>
#include <future>
#include <mutex>
#include <string>

View File

@ -5,6 +5,7 @@
#include <algorithm> // for std::sort, std::transform
#include <array> // std::array
#include <cctype>
#include <cerrno>
#include <cfloat> // DBL_DIG
#include <chrono>

View File

@ -8,6 +8,7 @@
#include <stack>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#ifdef _WIN32

View File

@ -5,6 +5,7 @@
#define LIBTRANSMISSION_WATCHDIR_MODULE
#include <chrono>
#include <set>
#include "transmission.h"

View File

@ -5,6 +5,7 @@
#pragma once
#include <chrono>
#include <functional>
#include <memory>
#include <string_view>

View File

@ -4,7 +4,6 @@
// License text can be found in the licenses/ folder.
#include <algorithm>
#include <chrono>
#include <iterator>
#include <memory>
#include <numeric> // std::accumulate()

View File

@ -7,6 +7,7 @@
#include <array>
#include <cassert>
#include <string_view>
#include <utility>
#include <QApplication>
#include <QByteArray>