[chore](build) Use include-what-you-use to optimize includes (PART II) (#18761)

Currently, there are some useless includes in the codebase. We can use a tool named include-what-you-use to optimize these includes. By using a strict include-what-you-use policy, we can get lots of benefits from it.
This commit is contained in:
Adonis Ling
2023-04-19 23:11:48 +08:00
committed by GitHub
parent c40860aba4
commit e412dd12e8
1225 changed files with 14114 additions and 3020 deletions

View File

@ -17,8 +17,19 @@
#include "runtime/stream_load/stream_load_context.h"
#include <gen_cpp/BackendService_types.h>
#include <rapidjson/document.h>
#include <rapidjson/encodings.h>
#include <rapidjson/prettywriter.h>
#include <rapidjson/rapidjson.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <new>
#include <sstream>
#include "common/logging.h"
namespace doris {
using namespace ErrorCode;