[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:
@ -19,8 +19,11 @@
|
||||
|
||||
#include "common/signal_handler.h"
|
||||
#include "runtime/runtime_state.h"
|
||||
#include "util/doris_metrics.h" // IWYU pragma: keep
|
||||
#include "util/uid_util.h"
|
||||
|
||||
namespace doris {
|
||||
class MemTracker;
|
||||
|
||||
DEFINE_STATIC_THREAD_LOCAL(ThreadContext, ThreadContextPtr, _ptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user