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

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-17 11:44:58 +08:00
committed by GitHub
parent a2278dbc6c
commit 9e960f4c4f
185 changed files with 1622 additions and 358 deletions

View File

@ -17,6 +17,8 @@
#include "exec/es/es_scan_reader.h"
#include <stdlib.h>
#include <map>
#include <sstream>
#include <string>
@ -24,7 +26,9 @@
#include "common/config.h"
#include "common/logging.h"
#include "common/status.h"
#include "exec/es/es_scroll_parser.h"
#include "exec/es/es_scroll_query.h"
#include "http/http_method.h"
namespace doris {