[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:
@ -18,15 +18,23 @@
|
||||
#include "http/utils.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <memory>
|
||||
#include <ostream>
|
||||
#include <vector>
|
||||
|
||||
#include "common/logging.h"
|
||||
#include "common/status.h"
|
||||
#include "common/utils.h"
|
||||
#include "http/http_channel.h"
|
||||
#include "http/http_common.h"
|
||||
#include "http/http_headers.h"
|
||||
#include "http/http_method.h"
|
||||
#include "http/http_request.h"
|
||||
#include "http/http_status.h"
|
||||
#include "io/fs/file_system.h"
|
||||
#include "io/fs/local_file_system.h"
|
||||
#include "util/path_util.h"
|
||||
#include "util/url_coding.h"
|
||||
|
||||
Reference in New Issue
Block a user