[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:
@ -17,10 +17,24 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <gen_cpp/Types_types.h>
|
||||
#include <jni.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "gen_cpp/Exprs_types.h"
|
||||
#include <memory>
|
||||
#include <ostream>
|
||||
|
||||
#include "common/logging.h"
|
||||
#include "common/status.h"
|
||||
#include "udf/udf.h"
|
||||
#include "util/jni-util.h"
|
||||
#include "vec/core/block.h"
|
||||
#include "vec/core/column_numbers.h"
|
||||
#include "vec/core/column_with_type_and_name.h"
|
||||
#include "vec/core/columns_with_type_and_name.h"
|
||||
#include "vec/core/types.h"
|
||||
#include "vec/data_types/data_type.h"
|
||||
#include "vec/functions/function.h"
|
||||
|
||||
namespace doris {
|
||||
|
||||
Reference in New Issue
Block a user