[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,6 +17,12 @@
|
||||
|
||||
#include "task_queue.h"
|
||||
|
||||
// IWYU pragma: no_include <bits/chrono.h>
|
||||
#include <chrono> // IWYU pragma: keep
|
||||
#include <string>
|
||||
|
||||
#include "common/logging.h"
|
||||
#include "pipeline/pipeline_task.h"
|
||||
#include "runtime/task_group/task_group.h"
|
||||
|
||||
namespace doris {
|
||||
|
||||
Reference in New Issue
Block a user