[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:
@ -21,12 +21,9 @@
|
||||
#include "exprs/string_functions.h"
|
||||
|
||||
#include <re2/re2.h>
|
||||
#include <re2/stringpiece.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "math_functions.h"
|
||||
#include "util/simd/vstring_function.h"
|
||||
#include "util/url_parser.h"
|
||||
#include <sstream>
|
||||
|
||||
// NOTE: be careful not to use string::append. It is not performant.
|
||||
namespace doris {
|
||||
|
||||
Reference in New Issue
Block a user