Skip to content

Commit 150097e

Browse files
authored
[misc] Remove some unnecessary #include lines (#4265)
1 parent a7f09f2 commit 150097e

4 files changed

Lines changed: 2 additions & 5 deletions

File tree

taichi/backends/cc/codegen_cc.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
#include "taichi/ir/transforms.h"
88
#include "taichi/util/line_appender.h"
99
#include "taichi/util/str.h"
10-
#ifdef TI_WITH_LLVM
11-
#include "taichi/llvm/llvm_program.h"
12-
#endif
1310
#include "cc_utils.h"
1411

1512
#define C90_COMPAT 0

taichi/backends/wasm/aot_module_builder_impl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#include "taichi/program/aot_module.h"
77
#include "taichi/program/kernel.h"
8+
#include "taichi/llvm/llvm_fwd.h"
89

910
#include "taichi/backends/wasm/codegen_wasm.h"
1011

taichi/jit/jit_module.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <functional>
55

66
#include "taichi/inc/constants.h"
7-
#include "taichi/llvm/llvm_fwd.h"
87
#include "taichi/lang_util.h"
98
#include "taichi/program/kernel_profiler.h"
109

taichi/system/snode_tree_buffer_manager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#pragma once
2-
#include "taichi/llvm/llvm_context.h"
32
#include "taichi/inc/constants.h"
43
#include "taichi/struct/snode_tree.h"
54
#define TI_RUNTIME_HOST
@@ -10,6 +9,7 @@ using Ptr = uint8_t *;
109

1110
TLANG_NAMESPACE_BEGIN
1211

12+
class JITModule;
1313
class ProgramImpl;
1414

1515
class SNodeTreeBufferManager {

0 commit comments

Comments
 (0)