[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

@ -21,17 +21,14 @@
#include "exprs/math_functions.h"
#include <stdlib.h>
#include <string.h>
// IWYU pragma: no_include <bits/std_abs.h>
#include <cmath>
#include <iomanip>
#include <random>
#include <sstream>
#include <limits>
#include <string_view>
#include "common/compiler_util.h"
#include "runtime/decimalv2_value.h"
#include "runtime/large_int_value.h"
#include "util/simd/vstring_function.h"
#include "udf/udf.h"
#include "util/string_parser.hpp"
namespace doris {