Remove empty newlines in #include blocks.

This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
This commit is contained in:
Emmanuel Gil Peyrot 2016-09-21 00:21:23 +09:00
parent 396a8d91a4
commit ebdae19fd2
289 changed files with 233 additions and 750 deletions

View file

@ -2,16 +2,14 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "core/loader/3dsx.h"
#include <algorithm>
#include <vector>
#include "common/logging/log.h"
#include "core/file_sys/archive_romfs.h"
#include "core/hle/kernel/process.h"
#include "core/hle/kernel/resource_limit.h"
#include "core/hle/service/fs/archive.h"
#include "core/loader/3dsx.h"
#include "core/memory.h"
namespace Loader {

View file

@ -5,7 +5,6 @@
#pragma once
#include <string>
#include "common/common_types.h"
#include "core/loader/loader.h"

View file

@ -2,18 +2,16 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "core/loader/elf.h"
#include <cstring>
#include <memory>
#include <string>
#include "common/common_types.h"
#include "common/file_util.h"
#include "common/logging/log.h"
#include "common/symbols.h"
#include "core/hle/kernel/process.h"
#include "core/hle/kernel/resource_limit.h"
#include "core/loader/elf.h"
#include "core/memory.h"
using Kernel::SharedPtr;

View file

@ -5,7 +5,6 @@
#pragma once
#include <string>
#include "common/common_types.h"
#include "core/loader/loader.h"

View file

@ -4,10 +4,8 @@
#include <memory>
#include <string>
#include "common/logging/log.h"
#include "common/string_util.h"
#include "core/hle/kernel/process.h"
#include "core/loader/3dsx.h"
#include "core/loader/elf.h"

View file

@ -9,7 +9,6 @@
#include <memory>
#include <string>
#include <vector>
#include "common/common_types.h"
#include "common/file_util.h"

View file

@ -2,19 +2,17 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "core/loader/ncch.h"
#include <algorithm>
#include <cstring>
#include <memory>
#include "common/logging/log.h"
#include "common/string_util.h"
#include "common/swap.h"
#include "core/file_sys/archive_romfs.h"
#include "core/hle/kernel/process.h"
#include "core/hle/kernel/resource_limit.h"
#include "core/hle/service/fs/archive.h"
#include "core/loader/ncch.h"
#include "core/memory.h"
////////////////////////////////////////////////////////////////////////////////////////////////////

View file

@ -5,11 +5,9 @@
#pragma once
#include <memory>
#include "common/bit_field.h"
#include "common/common_types.h"
#include "common/swap.h"
#include "core/loader/loader.h"
////////////////////////////////////////////////////////////////////////////////////////////////////

View file

@ -2,14 +2,11 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "core/loader/smdh.h"
#include <cstring>
#include <vector>
#include "common/common_types.h"
#include "core/loader/loader.h"
#include "core/loader/smdh.h"
#include "video_core/utils.h"
namespace Loader {

View file

@ -6,7 +6,6 @@
#include <array>
#include <vector>
#include "common/common_funcs.h"
#include "common/common_types.h"
#include "common/swap.h"